Beispiel #1
0
        private static void ShowNBug(IWin32Window?owner, Exception exception, bool isTerminating)
        {
            var envInfo = UserEnvironmentInformation.GetInformation();

            using var form = new GitUI.NBugReports.BugReportForm();
            var result = form.ShowDialog(owner, exception, envInfo);

            if (isTerminating || result == DialogResult.Abort)
            {
                Environment.Exit(-1);
            }
        }
Beispiel #2
0
 public TestAccessor(BugReportForm form)
 {
     _form = form;
 }