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