Example #1
0
 public static EditTripWindow GetInstance()
 {
     if (_instance == null)
     {
         _instance = new EditTripWindow();
     }
     return(_instance);
 }
Example #2
0
 private void OnWindowClosed(object sender, EventArgs e)
 {
     _instance = null;
 }
Example #3
0
 private void OnWindowClosing(object sender, CancelEventArgs e)
 {
     ParentWindow.NotifyEditWindowClosing();
     this.SavePlacement();
     _instance = null;
 }