public static DeleteWorker GetDeleteWorker() { if (del_worker == null) { del_worker = new DeleteWorker(); } del_worker.Activate(); return(del_worker); }
private void DeleteWorker_Click(object sender, RoutedEventArgs e) { del_worker = DeleteWorker.GetDeleteWorker(); del_worker.Show(); }
private void Window_Closed(object sender, EventArgs e) { del_worker = null; }