def __init__(self, parent):
MainFrame.__init__(self, parent)
self.Bind(wx.EVT_CLOSE, self.OnClose)
MainApp.pi_link_pnl = pi_link_pnl(self)
self.view_pnl = view_pnl(self)
#
#Set the local file paths for this computer_username
self.set_local_options()
#
# loads all the pages at the start then hides them,
# maybe i should change this later but let's make it work first
MainApp.welcome_pannel = welcome_pnl(self)
MainApp.system_ctrl_pannel = system_ctrl_pnl(self)
MainApp.system_info_pannel = system_info_pnl(self)
MainApp.config_ctrl_pannel = config_ctrl_pnl(self)
MainApp.config_info_pannel = config_info_pnl(self)
MainApp.cron_list_pannel = cron_list_pnl(self)
MainApp.cron_info_pannel = cron_info_pnl(self)
MainApp.localfiles_ctrl_pannel = localfiles_ctrl_pnl(self)
MainApp.localfiles_info_pannel = localfiles_info_pnl(self)
#hide all except the welcome pannel
MainApp.system_ctrl_pannel.Hide()
MainApp.system_info_pannel.Hide()
MainApp.config_ctrl_pannel.Hide()
MainApp.config_info_pannel.Hide()
MainApp.cron_list_pannel.Hide()
MainApp.cron_info_pannel.Hide()
MainApp.localfiles_ctrl_pannel.Hide()
MainApp.localfiles_info_pannel.Hide()
评论列表
文章目录