You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
597 B
17 lines
597 B
import wx
|
|
from ui_elements import create_buttons, create_static_texts
|
|
|
|
class MyFrame1(wx.Frame):
|
|
def __init__(self, parent):
|
|
wx.Frame.__init__(self, parent, id=wx.ID_ANY, title=u"外卖信息管理系统", pos=wx.DefaultPosition, size=wx.Size(610, 400),
|
|
style=wx.DEFAULT_FRAME_STYLE | wx.TAB_TRAVERSAL)
|
|
self.Center()
|
|
self.m_panel1 = wx.Panel(self)
|
|
create_static_texts(self.m_panel1)
|
|
create_buttons(self, self.m_panel1)
|
|
|
|
if __name__ == "__main__":
|
|
app = wx.App()
|
|
MyFrame1(None).Show()
|
|
app.MainLoop()
|