Example #1
0
        public _00204_Formulario(List <FormularioDTO> listaFormularios)
        {
            InitializeComponent();

            this.Name          = "_00204_Formulario";
            this.TituloVentana = "Formularios";
            this.Titulo        = "Pantallas del Sistema";
            this.Leyenda       = "AquĆ­ Actualizar su Base de Datos con las pantallas nuevas del sistema";

            this.ColorTitulo  = Color.Black;
            this.ColorLeyenda = Color.Gray;

            this._listaFormularios = listaFormularios;

            this.UsuarioLogin = Thread.CurrentPrincipal.Identity.Name;

            // Cargar evento de Validacion de Caracteres
            this.txtBuscar.KeyPress += new KeyPressEventHandler(base.textBoxLetrasNumeros_KeyPress);

            // Color al recibir el Foco
            this.txtBuscar.Enter += new EventHandler(base.control_Enter);

            // Color al perder el Foco
            this.txtBuscar.Leave += new EventHandler(base.control_Leave);

            AsignarImagenBotones();

            _formServicio.CargarFormularios(ref _listaFormularios);
        }