예제 #1
0
        public FormCompra()
        {
            InitializeComponent();

            _compraBL = new CompraBL();
            listaComprasBindingSource.DataSource = _compraBL.ObtenerCompras();

            _proveedoresBL = new ProveedoresBL();
            listaProveedoresBindingSource.DataSource = _proveedoresBL.obtenerProveedores();

            _productosBL = new ProductosBL();
            listaProductosBindingSource.DataSource = _productosBL.ObtenerProductos();
        }
예제 #2
0
 public CompraController()
 {
     this.compraBL = new CompraBL();
 }