Пример #1
0
 private void HideForm()
 {
     if (this.WindowState != FormWindowState.Minimized)
     {
         this.LoadCtrl.Dispose();
         this.LoadCtrl = null;
         this.Hide();
         this.WindowState = FormWindowState.Minimized;
         //隐藏配置窗体时,重启按键监听
         if (this.Config.HasChange)
         {
             this.ReStartListner();
         }
     }
 }
Пример #2
0
 private void menuItemArea_Click(object sender, EventArgs e)
 {
     this.LoadCtrl = new ScreenCtrl();
     this.ShowForm();
 }
Пример #3
0
 private void menuItemSetFolder_Click(object sender, EventArgs e)
 {
     this.LoadCtrl = new FolderCtrl();
     this.ShowForm();
 }