コード例 #1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     //设置窗体最大化
     this.WindowState = FormWindowState.Maximized;
     //关闭MessageBoxEx的Glass效果
     MessageBoxEx.EnableGlass = false;
     //加载计划列表
     LoadScheduler(DateTime.Now);
     //记录日志
     MainLogger.Instance.Trace("加载主窗体");
     //实例化关于窗体
     aboutForm   = new AboutForm();
     settingForm = new SettingForm();
     statusForm  = new StatusForm();
     new ToolForm().Show();
 }
コード例 #2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     //设置窗体最大化
     this.WindowState = FormWindowState.Maximized;
     //关闭MessageBoxEx的Glass效果
     MessageBoxEx.EnableGlass = false;
     //加载计划列表
     LoadScheduler(DateTime.Now);
     //记录日志
     MainLogger.Instance.Trace("加载主窗体");
     //实例化关于窗体
     aboutForm = new AboutForm();
     settingForm = new SettingForm();
     statusForm = new StatusForm();
     new ToolForm().Show();
 }