Exemple #1
0
 private void OpenExportWindow(SQLFileDisplayData diff, SQLFileDisplayData undoDiff)
 {
     try
     {
         this.UIDispatcher.Invoke(() => new ExportWindow(diff, undoDiff).ShowDialog());
     }
     catch (Exception e)
     {
         this.UIDispatcher.Invoke(() =>
         {
             var n = new Greg.WPF.Utility.ExceptionMessageBox(e, "Unhandled Exception");
             n.ShowDialog();
         });
     }
 }
Exemple #2
0
 public ExportWindow(SQLFileDisplayData diff, SQLFileDisplayData undoDiff)
 {
     this.DataContext = new ExportWindowViewModel(diff, undoDiff);
     this.InitializeComponent();
 }