/// <summary> /// 获取费用报销信息,并绑定数据到DataGrid /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void client_GetChargeApplyMasterListByMultSearchCompleted(object sender, GetChargeApplyMasterListByMultSearchCompletedEventArgs e) { loadbar.Stop(); if (e.Error == null) { ObservableCollection <T_FB_CHARGEAPPLYMASTER> entlist = e.Result; DaGr.ItemsSource = entlist; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } }
/// <summary> /// 获取费用报销信息,并绑定数据到DataGrid /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void client_GetChargeApplyMasterListByMultSearchCompleted(object sender, GetChargeApplyMasterListByMultSearchCompletedEventArgs e) { loadbar.Stop(); if (e.Error == null) { ObservableCollection<T_FB_CHARGEAPPLYMASTER> entlist = e.Result; DaGr.ItemsSource = entlist; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } }