Esempio n. 1
0
 public static void ShowSingleWindow(RacuniViewModel racuni)
 {
     if (Window == null)
     {
         Window = new EditInvoiceWindow(racuni)
         {
             Owner = Application.Current.MainWindow
         };
         Window.ShowDialog();
     }
     else
     {
         Window.Activate();
     }
 }
Esempio n. 2
0
 private static void EditInvoiceWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Window = null;
 }