private void FormProducto_Load(object sender, EventArgs e) { comboBox1.SelectedIndex = 0; _ef = new VideoJuegosBL(); this.productoBindingSource.DataSource = _ef.ObtenerProductos(); this.categoriaBindingSource.DataSource = _ef.ObtenerCategorias(); }
public FormBuscarJuego() { InitializeComponent(); _ef = new VideoJuegosBL(); consolaBindingSource.DataSource = _ef.ObtenerConsolas(); }
private void FormClientes_Load(object sender, EventArgs e) { try { _ef = new VideoJuegosBL(); this.clienteBindingSource.DataSource = _ef.ObtenerClientesLista(); } catch (Exception err) { MessageBox.Show("Ha ocurrido un error: " + err.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { try { _ef = new VideoJuegosBL(); this.productoBindingSource.DataSource = _ef.ObtenerProductosFiltrados(comboBox1.Text); } catch (Exception err) { MessageBox.Show("Ha ocurrido un error: " + err.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public FormRenta() { InitializeComponent(); _ef = new VideoJuegosBL(); this.tipoRentaBindingSource.DataSource = _ef.ObtenerTipoRenta(); listaProductosRenta = new List <ProductosRenta>(); source = new BindingSource(); source.DataSource = listaProductosRenta; ProductoDataGridView.DataSource = source; }
private void crystalReportViewer1_Load(object sender, EventArgs e) { VideoJuegosBL db = new VideoJuegosBL(); BindingSource bs = new BindingSource(); bs.DataSource = db.ObtenerListadoRenta(); CR_Renta1 rpt = new CR_Renta1(); rpt.SetDataSource(bs); crystalReportViewer1.ReportSource = rpt; crystalReportViewer1.RefreshReport(); }
public FormClientes() { InitializeComponent(); _ef = new VideoJuegosBL(); }
public ReporteProductosPorConsola() { _ef = new VideoJuegosBL(); }
public FormConsolas() { InitializeComponent(); _ef = new VideoJuegosBL(); }
public FormProductoConsola() { InitializeComponent(); _ef = new VideoJuegosBL(); }
public FormCambioContrasena() { _ef = new VideoJuegosBL(); InitializeComponent(); }
private void FormCategoria_Load(object sender, EventArgs e) { _ef = new VideoJuegosBL(); this.categoriaBindingSource.DataSource = _ef.ObtenerCategorias(); }
public FormCrearUsuario() { InitializeComponent(); _ef = new VideoJuegosBL(); }
public FormLogin() { InitializeComponent(); _ef = new VideoJuegosBL(); }
public FormBuscarCliente() { InitializeComponent(); _ef = new VideoJuegosBL(); }
public FormresetearContrasena() { _ef = new VideoJuegosBL(); InitializeComponent(); }