Esempio n. 1
0
        /*
         * Autor: Enrique Santana
         * Fecha de creación: 02/05/2012
         * Fecha de liberación: 04/06/2012
         * Descripción: Regresa al formulario anterior y manda el error
         */

        private void Regresar()
        {
            FrmZPPG02 zppg02 = new FrmZPPG02();

            this.Hide();
            zppg02.MensajeError = "No hay datos para la seleccion";
            zppg02.Centro       = this.centro;
            zppg02.ShowDialog();
            this.Dispose();
        }
Esempio n. 2
0
        private void treeOpciones_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            if (e.Node.Text == "Shut Down")
            {
                this.Hide();
                //DownLoad.FrmLogin down = new DownLoad.FrmLogin();
                //down.ShowDialog();
                this.Show();
            }



            if (e.Node.Text == Variables.OpReimpresion)
            {
                this.Hide();
                FrmReimpresionEtiquetas reimpri = new FrmReimpresionEtiquetas();
                reimpri.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpZWMG04)
            {
                this.Hide();
                FrmZwmg04 zwmg04 = new FrmZwmg04();
                zwmg04.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpTraslados)
            {
                this.Hide();
                FrmTrasladosTarimas traslado = new FrmTrasladosTarimas();
                traslado.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpZPPG03)
            {
                this.Hide();
                FrmEntradaZPPG03 zppg03 = new FrmEntradaZPPG03();
                zppg03.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpZPPG02)
            {
                this.Hide();
                FrmZPPG02 zppg02 = new FrmZPPG02();
                zppg02.MensajeError = "";
                zppg02.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpZPPG01)
            {
                this.Hide();
                FrmZPPG01Entrada zppg01 = new FrmZPPG01Entrada();
                zppg01.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpZPPG05)
            {
                this.Hide();
                FrmZPPG05Entrada zppg05 = new FrmZPPG05Entrada();
                zppg05.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpZPPG27)
            {
                this.Hide();
                FrmZPPG27 zppg27 = new FrmZPPG27();
                zppg27.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpZMaster)
            {
                this.Hide();
                FrmZMASTERMenu zmaster = new FrmZMASTERMenu();
                zmaster.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpReporte)
            {
                this.Hide();
                FrmMonitorEntregas monitorEntregas = new FrmMonitorEntregas();
                //monitorEntregas.MdiParent = this;
                monitorEntregas.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpZInterfaz)
            {
                this.Hide();
                FrmHUProcesarEntrada huProcesarEntrada = new FrmHUProcesarEntrada();
                huProcesarEntrada.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpUsuarios)
            {
                this.Hide();
                FrmAdmoUsuarios usuarios = new FrmAdmoUsuarios();
                usuarios.ShowDialog();
                this.Show();
            }

            if (e.Node.Text == Variables.OpCatalogos)
            {
                this.Hide();
                FrmCatalagos Catalagos = new FrmCatalagos();
                Catalagos.ShowDialog();
                this.Show();
            }
        }