private void MovimientosDeInventarioToolStripMenuItem_Click(object sender, EventArgs e) { //MOVIMIENTOS DE INVENTARIO ENCABEZADO //mov_inv if (frm_mov_inv == null) { frm_mov_inv = new mov_inv(); frm_mov_inv.MdiParent = this; frm_mov_inv.FormClosed += new FormClosedEventHandler(frm_mov_inv_FormClosed); frm_mov_inv.Show(); } else { frm_mov_inv.Activate(); } }
private void frm_mov_inv_FormClosed(Object sender, FormClosedEventArgs e) { frm_mov_inv = null; }