protected override void SelectProductAction(ProductInfo producto) { if (producto == null) return; FCriteria criteria = new FCriteria<long>("OidProducto", producto.Oid, Operation.Equal); Batchs_BS.DataSource = _entity.Partidas.GetSubList(criteria); Batchs_BS.ResetBindings(true); SelectStockAction(producto); }
protected virtual void UpdateBindings() { Stock_BS.ResetBindings(false); Stock_DGW.Refresh(); Batchs_BS.ResetBindings(false); Benefits_DGW.Refresh(); ExpensesInvoices_BS.ResetBindings(true); ExpensesInvoices_DGW.Refresh(); }