public BaseController() { _bancoServicio = new BancoServicio(); _estadoPagoServicio = new EstadoPagoServicio(); _monedaServicio = new MonedaServicio(); _ordenPagoServicio = new OrdenPagoServicio(); _rolServicio = new RolServicio(); _sucursalServicio = new SucursalServicio(); }
public FormInicial() { InitializeComponent(); bancoServicio = new BancoServicio(); this.Text = "Banco Hipotecario"; this.dataGridView1.DataSource = bancoServicio.CuentaServicio.ClienteServicio.TraerClientes(); this.dataGridView1.ReadOnly = true; this.dataGridView2.DataSource = bancoServicio.CuentaServicio.TraerCuentas(); this.dataGridView2.CellValueChanged += DataGridView2_CellValueChanged; this.dataGridView1.CellClick += DataGridView1_CellClick; }
public FormPrestamos(BancoServicio bancoServicio, Cliente clienteSeleccionado) { InitializeComponent(); this.banco = bancoServicio; this.cliente = clienteSeleccionado; this.listBoxPrestamos.DataSource = banco.PrestamoServicio.TraerPrestamos().Where(w => w.IdCliente == cliente.Id).ToList(); this.listBoxTipoPrestamos.DataSource = banco.PrestamoServicio.TraerTiposPrestamo(); this.listBoxTipoPrestamos.SelectedIndexChanged += ListBoxTipoPrestamos_SelectedIndexChanged; this.textBoxCliente.Text = string.Format("{0}, {1}", cliente.Apellido, cliente.Nombre); }
public FormNuevaCuenta(BancoServicio bancoServicio) { InitializeComponent(); this.banco = bancoServicio; try { this.comboBox1.DataSource = banco.CuentaServicio.ClienteServicio.Clientes; } catch (SinClientesException ex) { MessageBox.Show(string.Format("ERROR.\n{0}.", ex.Message)); this.Owner.Enabled = true; this.Close(); } }
public _00001_BuscarBancos(BancoServicio bancoServicio) { _bancoServicio = bancoServicio; }
public BancoController() { bancoServicio = new BancoServicio(); }