Пример #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();
        }
 public ConsultarPacienteController(FRM_ConsultaPaciente frm_ConsultaPaciente)
 {
     this.frm_ConsultaPaciente = frm_ConsultaPaciente;
     conexion = new ConexionPacientes();
     AgregarEventos();
 }