Beispiel #1
0
 public void ShowTaskMonitorX()
 {
     if (CurrentUCView != null)
     {
         CurrentUCView.Enabled = false;
         CurrentUCView.Visible = false;
     }
     if (TaskMonitorUC == null)
     {
         TaskMonitorUC = new UCTaskMonitor();
         Controls.Add(TaskMonitorUC);
         TaskMonitorUC.Dock = DockStyle.Fill;
     }
     menuStrip1.Enabled    = false;
     menuStrip1.Visible    = false;
     menuStrip2.Enabled    = true;
     menuStrip2.Visible    = true;
     TaskMonitorUC.Visible = true;
     TaskMonitorUC.Enabled = true;
     TaskMonitorUC.BringToFront();
 }
Beispiel #2
0
 public void ShowTaskMonitorX()
 {
     if (CurrentUCView != null)
     {
         CurrentUCView.Enabled = false;
         CurrentUCView.Visible = false;
     }
     if (TaskMonitorUC == null)
     {
         TaskMonitorUC = new UCTaskMonitor();
         Controls.Add(TaskMonitorUC);
         TaskMonitorUC.Dock = DockStyle.Fill;
     }
     menuStrip1.Enabled = false;
     menuStrip1.Visible = false;
     menuStrip2.Enabled = true;
     menuStrip2.Visible = true;
     TaskMonitorUC.Visible = true;
     TaskMonitorUC.Enabled = true;
     TaskMonitorUC.BringToFront();
 }