Exemple #1
0
        private void btnVolver_Click(object sender, EventArgs e)
        {
            this.Dispose();
            FrmZMASTERMenu menu = new FrmZMASTERMenu();

            menu.ShowDialog();
        }
        private void btnVolver_Click(object sender, EventArgs e)
        {
            this.Hide();
            FrmZMASTERMenu master = new FrmZMASTERMenu();

            master.ShowDialog();
        }
        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();
            }
        }