Ejemplo n.º 1
0
        private void Cargamenu(int intMenu)
        {
            object[] objParams = { intMenu };
            Form     objFrm;

            switch (intMenu)
            {
                #region "Mantenedor"

            case (int)MENU.MantUsuario:
                objFrm = new frmMantenedorUsuario()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantTipoDocumento:
                objFrm = new frmMantenedorTipoDocumento()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantCliente:
                objFrm = new frmBusquedaEmpresa()
                         //objFrm = new frmMantenedorCliente()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantSucursal:
                objFrm = new frmBusquedaSucursal(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantPersonal:
                objFrm = new frmBusquedaPersonal(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantVersionesSistema:
                objFrm = new frmMantVersionesSistema()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;


                #endregion


                #region "Proceso 200"

            case (int)MENU.IngresoPel:
                objFrm = new frmIngresoPeliculaDosi(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.CorreccionDcto:
                objFrm = new FrmDosimetriaPersonal(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.EnvioPelicula:
                objFrm = new frmRecepcionPelicula(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcEnviado:
                objFrm = new frmModuloEnviado(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcRecepcion:
                objFrm = new frmModuloRecepcion(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcOrTrabTodas:
                objFrm = new frmOrdenTrabajo(2)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcOrTrabPorCliente:
                objFrm = new frmOrdenTrabajoPorDocumento(2)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcOrTrabPorFechaRecepcion:
                objFrm = new frmOrdenTrabajoFechaRecepcion(2)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcIngresarDosisCliente:
                objFrm = new frmIngresoDosimetria(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcIngresarDosisDos:
                objFrm = new frmIngresoDosimetriaDos(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

                #endregion

                #region "ProcesoTLD 300"
            case (int)MENU.Ingreso_TLD:
                objFrm = new frmIngresoDosimetroTLD(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.EnviadoTLD:
                objFrm = new frmModuloEnviado(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.RecepcionTLD:
                objFrm = new frmModuloRecepcion(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.IniciarLectura:
                objFrm = new frmModuloIniciarProcesoTLD(2)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.IngresarDosisTLD:
                objFrm = new frmIngresoDosisTLD(12)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.DosisISPTLD:
                objFrm = new FrmInformeISP(-1)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ConsultaIngTLD:
                objFrm = new frmConsultaTLD()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;


                #endregion

                #region "Generar Dcto ISP 400"

            case (int)MENU.GenerarDctoISP:
                objFrm = new frmGenerarISP()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

                #endregion

                #region "Reporte 500"
            case (int)MENU.repDosimetria:
                objFrm = new frmRpDosimetria()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.repEstadoDosimetro:
                objFrm = new frmRptPorEstado()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.repCliente:
                objFrm = new frmRptcliente()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.repConsultaTLD:
                CargarReporteListadoTLD();
                break;
                #endregion

                #region "link 600"

            case (int)MENU.LinkVigDosimetrica:
                objFrm = new frmUrlVigilanciadosimetrica()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

                #endregion

                #region "Herramientas 800"
            case (int)MENU.ConfigurarCorreo:
                objFrm = new FrmConfCorreo()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.RestcontrCliente:
                LlamarFormularioContrasenaCliente();
                break;

            case (int)MENU.Cambiarcontraseña:
                LlamarFormularioContrasena();
                break;

            case (int)MENU.EnviarCorreo:
                objFrm = new frmEnvioCorreos(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.CambioTrimestre:
                objFrm = new frmCorreccionTrimestral(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);

                break;

            case (int)MENU.LiberarDosimetro:
                objFrm = new frmLiberarDosimetro()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.TraspasoPersonal:
                objFrm = new frmTraspasoPersonal()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.CambioSucursal:
                objFrm = new frmCambioSucursal()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.MantClienteRazonSocial:
                objFrm = new frmMantenedorClienteRazonSocial(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;
                #endregion

                #region "Acerca De 900"
            case (int)MENU.AcercaDe:
                objFrm = new frmAcerceDe
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;
                #endregion

                #region "Salir 1000"
            case (int)MENU.Salir:
                Graba_log("Finalizar");
                Application.Exit();
                break;
                #endregion
            }
        }
Ejemplo n.º 2
0
        private void Cargamenu_Click(object sender, EventArgs e)
        {
            int intMenu = Convert.ToUInt16(((System.Windows.Forms.ToolStripItem)sender).Tag.ToString());

            object[] objParams = { intMenu };
            Form     objFrm;

            switch (intMenu)
            {
                #region "Mantenedor"

            case (int)MENU.MantConfiguracionParametro:
                objFrm = new frmParametro()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.MantPerfil:
                objFrm = new frmMantenedorPerfil()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantUsuario:
                objFrm = new frmMantenedorUsuario()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantTipoDocumento:
                objFrm = new frmMantenedorTipoDocumento()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantCliente:
                objFrm = new frmBusquedaEmpresa()
                         //objFrm = new frmMantenedorCliente()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantSucursal:
                objFrm = new frmBusquedaSucursal(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantPersonal:
                objFrm = new frmBusquedaPersonal(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantPermiso:
                objFrm = new frmMantenedorPermiso()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantMasivoPersonal:
                objFrm = new frmModificarPersonalMasivo()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantVersionesSistema:
                objFrm = new frmMantVersionesSistema()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.MantClienteRazonSocial:
                objFrm = new frmMantenedorClienteRazonSocial(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

                #endregion


                #region "Proceso 200"

            case (int)MENU.IngresoPel:
                objFrm = new frmIngresoPeliculaDosi(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.CorreccionDcto:
                objFrm = new FrmDosimetriaPersonal(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.EnvioPelicula:
                objFrm = new frmRecepcionPelicula(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcEnviado:
                objFrm = new frmModuloEnviado(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcRecepcion:
                objFrm = new frmModuloRecepcion(0, false)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcOrTrabTodas:
                objFrm = new frmOrdenTrabajo(2)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcOrTrabPorCliente:
                objFrm = new frmOrdenTrabajoPorDocumento(2)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcOrTrabPorFechaRecepcion:
                objFrm = new frmOrdenTrabajoFechaRecepcion(2)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcIngresarDosisCliente:
                objFrm = new frmIngresoDosimetria(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ProcIngresarDosisDos:
                objFrm = new frmIngresoDosimetriaDos(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.mnuProcConsultaFilmico:
                objFrm = new frmConsultaFilmico
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;
                #endregion

                #region "ProcesoTLD 300"
            case (int)MENU.Ingreso_TLD:
                objFrm = new frmIngresoDosimetroTLD(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.EnviadoTLD:
                objFrm = new frmModuloEnviado(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.RecepcionTLD:
                objFrm = new frmModuloRecepcion(0, true)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.IniciarLectura:
                objFrm = new frmModuloIniciarProcesoTLD(2)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.IngresarDosisTLD:
                objFrm = new frmIngresoDosisTLD(12)                        //
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.DosisISPTLD:
                objFrm = new FrmInformeISP(-1)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.ConsultaIngTLD:
                objFrm = new frmConsultaTLD()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

                #endregion

                #region "Generar Dcto ISP 400"

            case (int)MENU.GenerarDctoISP:
                objFrm = new frmGenerarISP()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.GenerarPreDctoISP:
                objFrm = new frmGenerarPreISP()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

                #endregion

                #region "Reporte 500"
            case (int)MENU.repDosimetria:
                objFrm = new frmRpDosimetria()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.repEstadoDosimetro:
                objFrm = new frmRptPorEstado()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.repCliente:
                objFrm = new frmRptcliente()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.repConsultaTLD:
                CargarReporteListadoTLD();
                break;

            case (int)MENU.mnuInformeISPTri:
                objFrm = new FrmInformeDetalleISP()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.mnuInformeISPAnual:
                objFrm = new FrmInformeDetalleISPAnual()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;
                #endregion

                #region "link 600"

            case (int)MENU.LinkVigDosimetrica:
                objFrm = new frmUrlVigilanciadosimetrica()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

                #endregion

                #region "Herramientas 800"
            case (int)MENU.ConfigurarCorreo:
                objFrm = new FrmConfCorreo()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.RestcontrCliente:
                LlamarFormularioContrasenaCliente();
                break;

            case (int)MENU.Cambiarcontraseña:
                LlamarFormularioContrasena();
                break;

            case (int)MENU.EnviarCorreo:
                objFrm = new frmEnvioCorreos(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.CambioTrimestre:
                objFrm = new frmCorreccionTrimestral(0)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);

                break;

            case (int)MENU.LiberarDosimetro:
                objFrm = new frmLiberarDosimetro()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.TraspasoPersonal:
                objFrm = new frmTraspasoPersonal()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.CambioSucursal:
                objFrm = new frmCambioSucursal()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.HerrCambioTLD:
                objFrm = new frmCambioPersonalTLD()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

            case (int)MENU.HerrCorrecionCliente:
                objFrm = new frmCorreccionHistorial()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;

                #endregion

                #region "Acerca De 900"
            case (int)MENU.AcercaDe:
                objFrm = new frmAcerceDe
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen
                };
                Graba_log(objFrm.Text);
                objFrm.ShowDialog(this);
                break;
                #endregion

                #region "Salir 1000"
            case (int)MENU.Salir:
                Graba_log("Finalizar");
                Application.Exit();
                break;
                #endregion

                #region "Documento 1100"

            case (int)MENU.SubirDocumento:
                objFrm = new frmingdocumentos()
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.VerDocumento:
                objFrm = new frmDocumentoVerAprobar(false)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

            case (int)MENU.AprobarDocumento:
                objFrm = new frmDocumentoVerAprobar(true)
                {
                    ShowInTaskbar = false,
                    StartPosition = FormStartPosition.CenterScreen,
                    Parametros    = objParams
                };
                Graba_log(objFrm.Text);
                objFrm.Show(this);
                break;

                #endregion
            }
        }