예제 #1
0
        private void ejecutaOrdenDeTrabajo_Click(object sender, EventArgs e)
        {
            FrmEjecutarOrden frm = new FrmEjecutarOrden();

            frm.MdiParent = this;
            frm.Show();
        }
예제 #2
0
        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;
            }
        }
예제 #3
0
        private void MenuListadoOrdenes_Click(object sender, EventArgs e)
        {
            FrmEjecutarOrden frm = new FrmEjecutarOrden();

            frm.MdiParent = this;
            frm.Show();
        }