Beispiel #1
0
        public _90002_Perfiles()
            : base("Consulta de Perfiles", "Lista de Perfiles", new _90003_ABM_Perfil())
        {
            InitializeComponent();

            _PerfilServicio          = new ServicioPerfil();
            this.btnImprimir.Visible = false;

            this.WindowState = FormWindowState.Maximized;
        }
Beispiel #2
0
        public _90002_Perfiles()
            : base("Consulta de Perfiles", "Lista de Perfiles",new _90003_ABM_Perfil())
        {
            InitializeComponent();

            _PerfilServicio = new ServicioPerfil();
            this.btnImprimir.Visible = false;

            this.WindowState = FormWindowState.Maximized;
        }
Beispiel #3
0
        public _90003_ABM_Perfil()
            : base("ABM de Perfiles")
        {
            InitializeComponent();

            _PerfilServicio = new ServicioPerfil();

            this.txtDescripcion.Enter += Control_Enter;
            this.txtDescripcion.Leave += Control_Leave;

            this.txtDescripcion.KeyPress += Control_KeyPress;
        }
Beispiel #4
0
        public _90003_ABM_Perfil()
            : base("ABM de Perfiles")
        {
            InitializeComponent();

            _PerfilServicio = new ServicioPerfil();

            this.txtDescripcion.Enter += Control_Enter;
            this.txtDescripcion.Leave += Control_Leave;

            this.txtDescripcion.KeyPress += Control_KeyPress;
        }
Beispiel #5
0
        public _90006_AsignarControlPerfil()
        {
            InitializeComponent();

            _perfilControlServicio = new PerfilControlServicio();
            _perfilServicio        = new ServicioPerfil();

            this.WindowState = FormWindowState.Maximized;

            this.imgBuscarNoAsignados.Image = PresentacionBase.Imagenes.BotonBuscar;
            this.imgBuscarAsignados.Image   = PresentacionBase.Imagenes.BotonBuscar;

            this.txtBuscarAsignados.Enter  += Control_Enter;
            this.txtBuscarNoAsignado.Enter += Control_Enter;

            this.txtBuscarAsignados.Leave  += Control_Leave;
            this.txtBuscarNoAsignado.Leave += Control_Leave;

            this.btnActualizar.Image = PresentacionBase.Imagenes.BotonActualizar;
            this.btnEjecutar.Image   = PresentacionBase.Imagenes.BotonEjecutar;
            this.btnSalir.Image      = PresentacionBase.Imagenes.BotonSalir;

            PoblarComboBox(this.cmbPerfil, _perfilServicio.ObtenerTodo(), "Descripcion");
        }
        public _90005_AsignarFormularioPerfil()
        {
            InitializeComponent();

            _perfilFormularioServicio = new PerfilFormularioServicio();
            _perfilServicio = new ServicioPerfil();

            this.WindowState = FormWindowState.Maximized;

            this.imgBuscarNoAsignados.Image = PresentacionBase.Imagenes.BotonBuscar;
            this.imgBuscarAsignados.Image = PresentacionBase.Imagenes.BotonBuscar;

            this.txtBuscarAsignados.Enter += Control_Enter;
            this.txtBuscarNoAsignado.Enter += Control_Enter;

            this.txtBuscarAsignados.Leave += Control_Leave;
            this.txtBuscarNoAsignado.Leave += Control_Leave;

            this.btnActualizar.Image = PresentacionBase.Imagenes.BotonActualizar;
            this.btnEjecutar.Image = PresentacionBase.Imagenes.BotonEjecutar;
            this.btnSalir.Image = PresentacionBase.Imagenes.BotonSalir;

            PoblarComboBox(this.cmbPerfil, _perfilServicio.ObtenerTodo(), "Descripcion");
        }