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