private void oibt_FormClosed(object sender, FormClosedEventArgs e) { oibt = null; }
private void viewOpenIncidentByTechnicianToolStripMenuItem_Click(object sender, EventArgs e) { if (oibt == null) { oibt = new OpenIncidentsByTech(); oibt.MdiParent = this; oibt.FormClosed += new FormClosedEventHandler(oibt_FormClosed); oibt.Show(); } else oibt.Activate(); }