public static ReceivedEditWindow GetInstance() { if (instance == null) { instance = new ReceivedEditWindow(); } return(instance); }
private void Window_Unloaded(object sender, RoutedEventArgs e) { instance = null; }