public static void ShowSchedules() { if (singletonInstance == null) { singletonInstance = new SchedulerUI(); } singletonInstance.Show(); singletonInstance.Focus(); }
private void OnClosed(object sender, System.EventArgs e) { singletonInstance = null; }