public VistaPrestamosPendientes(VistaPrestamo vistaPrestamo, GestorPrestamo gestorPrestamo) { InitializeComponent(); this.vistaPrestamo = vistaPrestamo; this.gestorPrestamo = gestorPrestamo; }
private void CargarDataGridView(VistaPrestamo vistaPrestamo) { List <Prestamo> prestamos = this.repositorioPrestamo.Prestamos; foreach (Prestamo prestamo in prestamos) { vistaPrestamo.MostrarRegistro(ObtenerAtributos(prestamo)); } }
private void agregarToolStripMenuItem_Click(object sender, EventArgs e) { var vistaPrestamo = new VistaPrestamo(this, this.repositorioRecurso, this.repositorioSolicitante); if (this.repositorioPrestamo != null) { CargarDataGridView(vistaPrestamo); } vistaPrestamo.Show(); }
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 VistaSeleccionSolicitante(VistaPrestamo vistaPrestamo) { InitializeComponent(); this.vistaPrestamo = vistaPrestamo; }
private void agregarToolStripMenuItem_Click(object sender, EventArgs e) { VistaPrestamo vistaPrestamo = new VistaPrestamo(); vistaPrestamo.Show(); }
public GestorPrestamo(VistaPrestamo vistaPrestamo) { this.vistaPrestamo = vistaPrestamo; }
public VistaRecursoSeleccionado(VistaPrestamo vistaPrestamo) { InitializeComponent(); this.vistaPrestamo = vistaPrestamo; }