Beispiel #1
0
        public FormIngresos()
        {
            InitializeComponent();

            _ingresos = new IngresosBL();
            listaIngresosBindingSource.DataSource = _ingresos.ObtenerIngresos();
        }
Beispiel #2
0
        //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();
        }
Beispiel #3
0
        public FormFactura()
        {
            InitializeComponent();

            _facturaBL = new FacturasBL();
            listaFacturasBindingSource.DataSource = _facturaBL.ObtenerFacturas();

            _clientesBL = new ClientesBL();
            listaClientesBindingSource.DataSource = _clientesBL.ObtenerClientes();

            _ingresosBL = new IngresosBL();
            listaIngresosBindingSource.DataSource = _ingresosBL.ObtenerIngresos();
        }
Beispiel #4
0
        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();
        }