void client_GetPerformanceRewardSetWithPagingCompleted(object sender, GetPerformanceRewardSetWithPagingCompletedEventArgs e) { List <T_HR_PERFORMANCEREWARDSET> list = new List <T_HR_PERFORMANCEREWARDSET>(); if (e.Error == null) { if (e.Result != null) { list = e.Result.ToList(); } DtGrid.ItemsSource = list; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } loadbar.Stop(); }
void client_GetPerformanceRewardSetWithPagingCompleted(object sender, GetPerformanceRewardSetWithPagingCompletedEventArgs e) { List<T_HR_PERFORMANCEREWARDSET> list = new List<T_HR_PERFORMANCEREWARDSET>(); if (e.Error == null) { if (e.Result != null) { list = e.Result.ToList(); } DtGrid.ItemsSource = list; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } loadbar.Stop(); }