예제 #1
0
        public _00508_Paciente(IUnidadDeTrabajoDatosPaciente uowDatosPaciente,
                               ISeguridadServicio seguridadServicio)
        {
            InitializeComponent();

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

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

            this._uowDatosPaciente  = uowDatosPaciente;
            this._seguridadServicio = seguridadServicio;

            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 = false;


            // Boton Plan de Vacunacion
            this.MenuConsulta.Items.Add(CrearBotonPlanVacunacion());
            // Boton Patología
            this.MenuConsulta.Items.Add(CrearBotonPatologia());
        }
        public _00515_PatologiaPaciente(IUnidadDeTrabajoDatosPaciente uowDatosPaciente,
                                        ISeguridadServicio seguridadServicio)
        {
            InitializeComponent();

            this._uowDatosPaciente  = uowDatosPaciente;
            this._seguridadServicio = seguridadServicio;

            this.Name          = "_00515_PatologiaPaciente";
            this.TituloVentana = "Patología del Paciente";

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

            // 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);

            this.btnSalir.Image = Presentacion.PlantillaFormulario.Clases.ImagenesFormulario.Salir;
        }
        public _00512_AgregarVacunaPaciente(IUnidadDeTrabajoDatosPaciente uowDatosPaciente)
        {
            InitializeComponent();

            this.Name          = "_00512_AgregarVacunaPaciente";
            this.TituloVentana = "Vacuna";

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

            this._uowDatosPaciente = uowDatosPaciente;

            this.btnSalir.Image  = Presentacion.PlantillaFormulario.Clases.ImagenesFormulario.Salir;
            this.btnGrabar.Image = Presentacion.PlantillaFormulario.Clases.ImagenesFormulario.Grabar;
        }
예제 #4
0
        public _00522_Pariente(IUnidadDeTrabajoDatosPaciente uowDatosPaciente)
        {
            InitializeComponent();

            this.Name          = "_00522_Pariente";
            this.TituloVentana = "Pariente";
            this.Titulo        = "Consulta de Parientes";
            this.Leyenda       = "Aquí Ud. podrá Agregar, Eliminar o Modificar un Partiente";

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

            this._uowDatosPaciente = uowDatosPaciente;

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

            this.EstaModoDiccionario = false;
        }
예제 #5
0
        public _00500_Vacunas(IUnidadDeTrabajoDatosPaciente uowDatosPaciente)
        {
            InitializeComponent();

            this.Name          = "_00500_Vacunas";
            this.TituloVentana = "Vacuna";
            this.Titulo        = "Consulta de Vacunas";
            this.Leyenda       = "Aquí Ud. podrá Agregar, Eliminar o Modificar una Vacuna y Consultar sus Datos";

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

            this._uowDatosPaciente = uowDatosPaciente;

            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 = false;
        }
예제 #6
0
        public _00502_PlanVacunacion(IUnidadDeTrabajoDatosPaciente uowDatosPaciente,
                                     IPlanVacunacionServicio planServicio)
        {
            InitializeComponent();

            this.Name          = "_00502_PlanVacunacion";
            this.TituloVentana = "Plan de Vacunación";

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

            this._uowDatosPaciente = uowDatosPaciente;
            this._planServicio     = planServicio;

            // 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);

            this.btnSalir.Image = Presentacion.PlantillaFormulario.Clases.ImagenesFormulario.Salir;
        }
예제 #7
0
 public PlanVacunacionServicio(IUnidadDeTrabajoDatosPaciente uowDatosPaciente)
 {
     this._uowDatosPaciente = uowDatosPaciente;
 }