public static void SetSchedulerForm(SchedulerForm form) { if (schedulerForm != null) { schedulerForm.Close(); } schedulerForm = form; }
private void Settings_BTN_Click(object sender, RibbonControlEventArgs e) { var settings = new SchedulerForm(); settings.Show(); }
private void schedulerToolStripMenuItem_Click(object sender, EventArgs e) { SchedulerForm schedulerForm = new SchedulerForm(); schedulerForm.Show(); }
private void showScheduleToolStripMenuItem_Click(object sender, EventArgs e) { SchedulerForm sf = new SchedulerForm(); sf.ShowDialog(); }