//获取数据 void client_GetBorrowApplyMasterListForRepayCompleted(object sender, GetBorrowApplyMasterListForRepayCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); ObservableCollection<T_FB_BORROWAPPLYMASTER> borrowInfoData = e.Result; if (borrowInfoData != null) { dgvBorrowAppList.ItemsSource = borrowInfoData.ToList(); } else { dgvBorrowAppList.ItemsSource = null; } }
//获取数据 void client_GetBorrowApplyMasterListForRepayCompleted(object sender, GetBorrowApplyMasterListForRepayCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); ObservableCollection <T_FB_BORROWAPPLYMASTER> borrowInfoData = e.Result; if (borrowInfoData != null) { dgvBorrowAppList.ItemsSource = borrowInfoData.ToList(); } else { dgvBorrowAppList.ItemsSource = null; } }