示例#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);
 }
示例#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);
        }