private void viewUsersToolStripMenuItem_Click(object sender, EventArgs e) { if (v == null) { ViewUsers v = new ViewUsers(); v.FormClosed += V_FormClosed; v.MdiParent = this; v.Show(); } else { v.Activate(); } }
private void V_FormClosed(object sender, FormClosedEventArgs e) { v = null; //throw new NotImplementedException(); }