Esempio n. 1
0
 public static void HandleException(Window owner, Exception ex)
 {
     ExceptionWindow win = new ExceptionWindow();
     win.Exception = ex;
     win.Owner = owner;
     win.ShowDialog();
 }
Esempio n. 2
0
 private static void OnExceptionChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
 {
     ExceptionWindow win = (ExceptionWindow) obj;
     win.UpdateExceptionData();
 }