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