private void runNewTaskToolStripMenuItem1_Click(object sender, EventArgs e) { using (RunNewTask fm = new RunNewTask()) { if (fm.ShowDialog() == DialogResult.OK) { GetProcess(); } } }
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; } } }