private void serviciosToolStripMenuItem_Click(object sender, EventArgs e) { if (servicios == null) { servicios = new frmAgregarServicios(); servicios.MdiParent = this.MdiParent; servicios.FormClosed += new FormClosedEventHandler(ServiciosFormClosed); servicios.Show(); } }
private void ServiciosFormClosed(object sender, EventArgs e) { servicios = null; }