public VistaPrincipal()
 {
     InitializeComponent();
     this.repositorioRecurso     = null;
     this.repositorioPrestamo    = null;
     this.repositorioSolicitante = null;
 }
Example #2
0
        public GestorPrestamo(VistaPrestamo vistaPrestamo,
                              VistaPrincipal vistaPrincipal,
                              RepositorioRecursos repositorioRecursos,
                              RepositorioSolicitante repositorioSolicitante)
        {
            this.vistaPrestamo  = vistaPrestamo;
            this.vistaPrincipal = vistaPrincipal;

            this.repositorioPrestamo    = new RepositorioPrestamo();
            this.repositorioRecursos    = repositorioRecursos;
            this.repositorioSolicitante = repositorioSolicitante;
        }