public static void ShowSingleWindow()
 {
     if (Window == null)
     {
         Window = new ChooseReportWindow {
             Owner = Application.Current.MainWindow
         };
         Window.ShowDialog();
     }
     else
     {
         Window.Activate();
     }
 }
 private static void ChooseReportWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Window = null;
 }