public static DeleteObject GetDeleteObject() { if (del_object == null) { del_object = new DeleteObject(); } del_object.Activate(); return(del_object); }
private void DeleteObject_Click(object sender, RoutedEventArgs e) { del_object = DeleteObject.GetDeleteObject(); del_object.Show(); }
private void Window_Closed(object sender, EventArgs e) { del_object = null; }