private void validerToolStripMenuItem_Click(object sender, EventArgs e) { if (vForm == null) { vForm = new validerQuestionnaire(this); vForm.MdiParent = this; vForm.FormClosed += new FormClosedEventHandler(vForm_FormClosed); vForm.Show(); } else { vForm.Activate(); } }
private void vForm_FormClosed(object sender, FormClosedEventArgs e) { vForm = null; }