public FormIngresos() { InitializeComponent(); _ingresos = new IngresosBL(); listaIngresosBindingSource.DataSource = _ingresos.ObtenerIngresos(); }
//ClientesBL _clientesBL; public FormIngresos() { InitializeComponent(); _ingresos = new IngresosBL(); listaIngresosBindingSource.DataSource = _ingresos.ObtenerIngresos(); _categorias = new CategoriasBL(); listaCategoriasBindingSource.DataSource = _categorias.ObtenerCategorias(); _tiposBL = new TiposBL(); listaTiposBindingSource.DataSource = _tiposBL.ObtenerTipos(); }
public FormFactura() { InitializeComponent(); _facturaBL = new FacturasBL(); listaFacturasBindingSource.DataSource = _facturaBL.ObtenerFacturas(); _clientesBL = new ClientesBL(); listaClientesBindingSource.DataSource = _clientesBL.ObtenerClientes(); _ingresosBL = new IngresosBL(); listaIngresosBindingSource.DataSource = _ingresosBL.ObtenerIngresos(); }
public FormReporteIngresos() { InitializeComponent(); var _ingresosBL = new IngresosBL(); var bindingSource = new BindingSource(); bindingSource.DataSource = _ingresosBL.ObtenerIngresos(); var reporte = new ReporteIngresos(); reporte.SetDataSource(bindingSource); crystalReportViewer1.ReportSource = reporte; crystalReportViewer1.RefreshReport(); }