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); } }
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); } }