private async Task RefreshChildren(vwBatchRpt vwBatchRpt) { if (vwBatchRpt == null) return; if ((SelectedvwBatchRpt == null) || (vwBatchRpt != SelectedvwBatchRpt)) await Task.Factory.StartNew(() => { _vm.PaymentReportCriteria.BatchNumber = vwBatchRpt.batch_num; _vm.RefreshAll(); }); SelectedvwBatchRpt = vwBatchRpt; }
private async Task RefreshChildren(vwBatchRpt vwBatchRpt) { if (vwBatchRpt == null) return; if ((SelectedvwBatchRpt == null) || (vwBatchRpt != SelectedvwBatchRpt)) await Task.Factory.StartNew(() => { _vm.ClientReportCriteria.SelectedBatch.batch_num = vwBatchRpt.batch_num; _vm.RefreshAll(); }); SelectedvwBatchRpt = vwBatchRpt; pgv.Visibility = Visibility; }