public FormAgregar() { InitializeComponent(); _donantes = new DonantesBL(); listaDonantesBindingSource.DataSource = _donantes.ObtenerDonantes(); }
public FormFactura() { InitializeComponent(); _facturaBL = new FacturaBL(); listaFacturasBindingSource.DataSource = _facturaBL.ObtenerFacturas(); _clientesBL = new ClientesBL(); listaClientesBindingSource.DataSource = _clientesBL.ObtenerClientes(); _donantesBL = new DonantesBL(); listaDonantesBindingSource.DataSource = _donantesBL.ObtenerDonantes(); }
public FormDonantes() { InitializeComponent(); _donantes = new DonantesBL(); listaDonantesBindingSource.DataSource = _donantes.ObtenerDonantes(); _categorias = new CategoriasBL(); listaCategoriasBindingSource.DataSource = _categorias.ObtenerCategorias(); _tipos = new TiposBL(); listaTiposBindingSource.DataSource = _tipos.ObtenerTipos(); }
public FormReporteDonantes() { InitializeComponent(); var _donantesBL = new DonantesBL(); var bidingSource = new BindingSource(); bidingSource.DataSource = _donantesBL.ObtenerDonantes(); var reporte = new ReporteDonantes(); reporte.SetDataSource(bidingSource); crystalReportViewer1.ReportSource = reporte; crystalReportViewer1.RefreshReport(); }