Example #1
0
        public MenuController(FRM_Menu frm_Menu)
        {
            this.frm_Menu            = frm_Menu;
            frm_AgregarPaciente      = new FRM_AgregarPaciente();
            frm_ModificarPaciente    = new FRM_ModificarPaciente();
            frm_ConsultarPaciente    = new FRM_ConsultaPaciente();
            frm_AgregarMedicamento   = new FRM_AgregarMedicamento();
            frm_ModificarMedicamento = new FRM_ModificarMedicamento();
            frm_ConsultarMedicamento = new FRM_ConsultarMedicamento();
            frm_NuevaPrescripcion    = new FRM_NuevaPrescripcion();

            AgregarEventos();
        }
Example #2
0
 public ConsultarMedicamentoController(FRM_ConsultarMedicamento frm_ConsultarMedicamento)
 {
     this.conexion = new ConexionMedicamentos();
     this.frm_ConsultarMedicamento = frm_ConsultarMedicamento;
     AgregarEventos();
 }