private void gestionJuntaDirectivaToolStripMenuItem_Click(object sender, EventArgs e) { if (formJunta == null) { formJunta = new FormGestionJunta(); formJunta.MdiParent = this; formJunta.FormClosed += new FormClosedEventHandler(formJunta_FormClosed); formJunta.Show(); } else { formJunta.Activate(); } }
private void formJunta_FormClosed(object sender, FormClosedEventArgs e) { formJunta = null; }