Ejemplo n.º 1
0
 protected override void LoadStock()
 {
     if (_entity.Stocks.Count == 0)
     {
         PgMng.Reset(3, 1, Face.Resources.Messages.LOADING_DATA, this);
         try
         {
             PgMng.Grow();
             _entity.LoadChilds(typeof(Stock), true, false);
             string stock_warning = _entity.GetStockWarning();
             if (stock_warning != string.Empty)
             {
                 PgMng.ShowInfoException(stock_warning);
             }
             PgMng.Grow();
         }
         finally
         {
             PgMng.FillUp();
         }
     }
     SelectStockAction(Datos_Productos.Current as ProductInfo);
 }