/// <summary> /// 加载数据列表 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void clientAtt_GetVacationSetRdListByMultSearchCompleted(object sender, GetVacationSetRdListByMultSearchCompletedEventArgs e) { if (e.Error == null) { IEnumerable <T_HR_VACATIONSET> entVacList = e.Result; dgVacList.ItemsSource = entVacList; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } loadbar.Stop(); }
/// <summary> /// 加载数据列表 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void clientAtt_GetVacationSetRdListByMultSearchCompleted(object sender, GetVacationSetRdListByMultSearchCompletedEventArgs e) { if (e.Error == null) { IEnumerable<T_HR_VACATIONSET> entVacList = e.Result; dgVacList.ItemsSource = entVacList; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } loadbar.Stop(); }