private void ejecutaOrdenDeTrabajo_Click(object sender, EventArgs e) { FrmEjecutarOrden frm = new FrmEjecutarOrden(); frm.MdiParent = this; frm.Show(); }
private void toolStrip_ItemClicked(object sender, ToolStripItemClickedEventArgs e) { switch (e.ClickedItem.Text) { case "Nueva Orden de Trabajo": FrmIngresoOrden childFormIngresoOrden = new FrmIngresoOrden(); childFormIngresoOrden.MdiParent = this; //childFormIngresoOrden.Text = "Ventana " + childFormNumber++; childFormIngresoOrden.Show(); break; case "Ejecutar Orden de Trabajo": FrmEjecutarOrden childFormEjecutaOrden = new FrmEjecutarOrden(); childFormEjecutaOrden.MdiParent = this; //childFormEjecutaOrden.Text = "Ventana " + childFormNumber++; childFormEjecutaOrden.Show(); break; case "Salir": Close(); break; } }
private void MenuListadoOrdenes_Click(object sender, EventArgs e) { FrmEjecutarOrden frm = new FrmEjecutarOrden(); frm.MdiParent = this; frm.Show(); }