Ejemplo n.º 1
0
        public _00110_AsignarEmpleadoObraSocial(IUnidadDeTrabajoComun uowComun)
        {
            InitializeComponent();

            this.Name          = "_00106_AsignarEmpleadoObraSocial";
            this.TituloVentana = "Obra Social - Empleado";
            this.Titulo        = "Asignar Empleado a una Obra Social";
            this.Leyenda       = "Aquí Ud. podrá asignar a un Empleado a una o más Obras Sociales";

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

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

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

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

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

            this._uowComun = uowComun;

            this.imgAsignado.Image   = Presentacion.PlantillaFormulario.Clases.ImagenesFormulario.Buscar;
            this.imgNoAsignado.Image = Presentacion.PlantillaFormulario.Clases.ImagenesFormulario.Buscar;
            this.btnSalir.Image      = Presentacion.PlantillaFormulario.Clases.ImagenesFormulario.Salir;

            LimpiarDatosFormulario();
        }
Ejemplo n.º 2
0
        public _00202_Clase(IUnidadDeTrabajoComun comunUoW)
        {
            InitializeComponent();

            this.Name = "_00202_Clase";
            this.TituloVentana = "Clase";
            this.Titulo = "Consulta de Clases";
            this.Leyenda = "Aquí Ud. podrá Agregar, Eliminar o Modificar una Clase y Consultar sus Datos";
            this.ColorTitulo = Color.White;
            this.ColorLeyenda = Color.White;

            this._comunUow = comunUoW;
            this.EstaModoDiccionario = false;
               // this.MenuConsulta.Items.Add(CrearBotonAgregarHorario());
        }
Ejemplo n.º 3
0
        public _00300_Sexo(IUnidadDeTrabajoComun uowComun)
        {
            InitializeComponent();

            this.Name          = "_00300_Sexo";
            this.TituloVentana = "Sexo";
            this.Titulo        = "Consulta de Sexo";
            this.Leyenda       = "Aquí Ud. podrá Agregar, Eliminar o Modificar un Sexo y Consultar sus Datos";

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

            this._uowComun = uowComun;

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

            // Sirve para poner los botones nuevo, modificar y eliminar en visible false,
            // ya que no se podra realizar ninguna de las operaciones antes mencionadas
            this.EstaModoDiccionario = true;
        }
Ejemplo n.º 4
0
 public ctrolBuscarSocio(IUnidadDeTrabajoComun socioComun)
 {
     InitializeComponent();
     _socioUow = socioComun;
 }