public VistaPrincipal()
 {
     InitializeComponent();
     this.repositorioRecurso     = null;
     this.repositorioPrestamo    = null;
     this.repositorioSolicitante = null;
 }
示例#2
0
        public GestorRecursos(VistaRecursos vistaRecursos, VistaPrincipal vistaPrincipal)
        {
            this.vistaRecursos  = vistaRecursos;
            this.vistaPrincipal = vistaPrincipal;

            this.repositorioRecursos = new RepositorioRecursos();
        }
示例#3
0
        public VistaPrestamo(VistaPrincipal vistaPrincipal,
                             RepositorioRecursos repositorioRecursos,
                             RepositorioSolicitante repositorioSolicitante)
        {
            InitializeComponent();

            this.vistaPrincipal = vistaPrincipal;
            gestorPrestamo      = new GestorPrestamo(this, this.vistaPrincipal, repositorioRecursos, repositorioSolicitante);
        }
示例#4
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;
        }
        public GestorRecursos(VistaRecursos vistaRecursos)
        {
            this.vistaRecursos = vistaRecursos;

            this.repositorioRecursos = new RepositorioRecursos();
        }