Exemple #1
0
 private void runNewTaskToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     using (RunNewTask fm = new RunNewTask())
     {
         if (fm.ShowDialog() == DialogResult.OK)
         {
             GetProcess();
         }
     }
 }
Exemple #2
0
 private void runNewTaskToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (RunNewTask fm = new RunNewTask())
     {
         if (fm.ShowDialog() == DialogResult.OK)
         {
             GetProcess();
             metroButton1.Enabled = false;
             metroButton2.Enabled = false;
         }
     }
 }