private void fermerUnQuestionnaireToolStripMenuItem_Click(object sender, EventArgs e) { if (cq == null) { cq = new fermerQuestionnaire(this); cq.MdiParent = this; cq.FormClosed += new FormClosedEventHandler(cq_FormClosed); cq.Show(); } else { cq.Activate(); } }
private void cq_FormClosed(object sender, FormClosedEventArgs e) { cq = null; }