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