/// <summary> /// /// </summary> public void fillGridArtsRemainingForPack() { /// try { _LiquDtlArtsRemaining = new Liquidation_DtlViewModel(); /// _ocLiqDtlArtsRemaining = _LiquDtlArtsRemaining.getArtSizesLiquiNotPacking(_noLiquidation, txtArticlesRef.Text); /// this.dgArtsRemainingForPack.ItemsSource = _ocLiqDtlArtsRemaining; /// Succes this.changeSemaphore(Brushes.GreenYellow); } catch { /// this.changeSemaphore(Brushes.Salmon); /// MessageBox.Show("Ha ocurrido un error en la carga de los articulos en la grilla de resultados, por favor verifique el código digitado.", "Aquarella - Mensaje De Advertencia", MessageBoxButton.OK, MessageBoxImage.Exclamation); } }
/// <summary> /// Cargado de articulos totales empacados /// </summary> public void loadTotArticlesPacking() { /// _LiquDtlVM = new Liquidation_DtlViewModel(); /// _ocLiqDtl = _LiquDtlVM.getArticlesPackByLiq(_noLiquidation); /// if (_ocLiqDtl != null) { ///this.lvArtsTotPacking.ItemsSource = _ocLiqDtl; this.dgArtsTotPack.ItemsSource = _ocLiqDtl; /// this.calculateQtyTotals(); /// this.dgArtsTotPack.ScrollIntoView(this.dgArtsTotPack.Items.MoveCurrentToLast()); this.dgArtsTotPack.UpdateLayout(); } else { this.dgArtsTotPack.ItemsSource = new ObservableCollection <Liquidation_Dtl>(); } }