コード例 #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();
 }