private void ventasPorFechasToolStripMenuItem_Click(object sender, EventArgs e) { if (Ventas == null) { Ventas = new Consultas.FrmConsulta_Ventas(); Ventas.MdiParent = this; Ventas.FormClosed += new FormClosedEventHandler(CerrarVentas); Ventas.Show(); } }
private void CerrarVentas(object sender, EventArgs e) { Ventas = null; }