예제 #1
0
        private void AskBugReport(Exception exc)
        {
            // seems like rendering failed!
            Log("\r\nIt appears an error occurred during image rendering.");
            var form = new SubmitBug();

            form.Email = Settings.Default.email;
            if (form.ShowDialog() == DialogResult.OK)
            {
                if (!string.IsNullOrWhiteSpace(form.Email))
                {
                    Settings.Default.email = form.Email;
                }
                SubmitBugReport(form.Email, exc);
            }
        }
예제 #2
0
 private void AskBugReport()
 {
     // seems like rendering failed!
     Log("\r\nIt appears an error ocurred during image rendering.");
     var form = new SubmitBug();
     form.Email = Settings.Default.email;
     if (form.ShowDialog() == DialogResult.OK) {
         if (!string.IsNullOrWhiteSpace(form.Email))
             Settings.Default.email = form.Email;
         SubmitBugReport(form.Email);
     }
 }