private void button1_Click(object sender, EventArgs e) { using (BugReportDialog err = new BugReportDialog(exception)) err.ShowDialog(Owner); }
private void reportBugToolStripMenuItem_Click(object sender, EventArgs e) { using (BugReportDialog dlg = new BugReportDialog()) dlg.ShowDialog(this); }