Exemple #1
0
 public static void HandleUnrecoverableFailure(Exception e)
 {
     SendBugReportDialogModel bugReportModel = new SendBugReportDialogModel(e, new BugReportCreator());
     SendBugReportDialogView bugReportView = new SendBugReportDialogView(bugReportModel);
     bugReportView.ShowDialog();
     Application.Current.Shutdown(-1);
 }
Exemple #2
0
        public static void HandleUnrecoverableFailure(Exception e)
        {
            SendBugReportDialogModel bugReportModel = new SendBugReportDialogModel(e, new BugReportCreator());
            SendBugReportDialogView  bugReportView  = new SendBugReportDialogView(bugReportModel);

            bugReportView.ShowDialog();
            Application.Current.Shutdown(-1);
        }