Ejemplo n.º 1
0
 private void toolStripMenuItem3_Click(object sender, EventArgs e)
 {
     if (scheduler != null && scheduler.IsDisposed == false)
     {
         scheduler.Show();
     }
     else
     {
         scheduler = new frmScheduler();
         scheduler.Show();
     }
 }
Ejemplo n.º 2
0
 private void schedulerToolStripMenuItem3_Click(object sender, EventArgs e)
 {
     //frmScheduler scheduler = new frmScheduler();
     if (scheduler != null && scheduler.IsDisposed == false)
     {
         if (Unfollower.IsSheduler_NewUi)
         {
             scheduler.Show();
             Unfollower.IsSheduler_NewUi = false;
         }
         else
         {
             MessageBox.Show("scheduler Form is already Open.", "Alert");
         }
     }
     else
     {
         if (Unfollower.IsSheduler_NewUi)
         {
             Unfollower.IsSheduler_NewUi = false;
             scheduler = new frmScheduler();
             scheduler.Show();
         }
         else
         {
             MessageBox.Show("Sheduler Form is already Open.", "Alert");
         }
     }
 }