Esempio n. 1
0
 private void addDesk()
 {
     deskForm = new DeskForm(ctrlCenter);
     deskForm.Show();
     deskForm.setFullScreen();
     //deskTop.Dock = DockStyle.Left | DockStyle.Top;
     //panel.BackColor = Color.AliceBlue;
     //this.Controls.Add(panel);
     //panel.BringToFront();
     //setMaxScreen();
 }
 private void addDesk()
 {
     deskForm = new DeskForm(ctrlCenter);
     deskForm.Show();
     deskForm.setFullScreen();
     //deskTop.Dock = DockStyle.Left | DockStyle.Top;
     //panel.BackColor = Color.AliceBlue;
     //this.Controls.Add(panel);
     //panel.BringToFront();
     //setMaxScreen();
 }
 private void addDesk()
 {
     if (deskForm == null)
     {
         deskForm = new DeskForm(ctrlCenter);
         deskForm.Show();
         deskForm.setFullScreen();
         return;
     }
     if (deskForm.IsDisposed)
     {
         deskForm = new DeskForm(ctrlCenter);
         deskForm.Show();
         deskForm.setFullScreen();
     }
 }