示例#1
0
 private void createIncidentToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (ci == null)
     {
         ci = new CreateIncident();
         ci.MdiParent = this;
         ci.FormClosed += new FormClosedEventHandler(ci_FormClosed);
         ci.Show();
     }
     else ci.Activate();
 }
示例#2
0
 private void ci_FormClosed(object sender, FormClosedEventArgs e)
 {
     ci = null;
 }