void dne_FormClosed(object sender, FormClosedEventArgs e) { dne=null; }
private void deleteAnEmployeeToolStripMenuItem_Click(object sender, EventArgs e) { if (dne == null) { dne = new DeleteAnEmployee(); dne.MdiParent = this; dne.FormClosed += dne_FormClosed; dne.Show(); } else { dne.Activate(); } }