void client_GetPerformanceEmployeeAllBySumIDCompleted(object sender, GetPerformanceEmployeeAllBySumIDCompletedEventArgs e) { List <V_PERFORMANCERECORD> tmp = new List <V_PERFORMANCERECORD>(); if (e.Error != null && e.Error.Message != "") { //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); } else { if (e.Result != null) { tmp = e.Result.ToList(); } //dpGrid.PageSize = 20; //PagedCollectionView pager = new PagedCollectionView(tmp); //dtgPerformance.ItemsSource = pager; //dataProjectPager.PageCount = e.; } }
/// <summary> /// 获取所有绩效考核人员后的事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> // 1s 冉龙军 //private void client_GetPerformanceAllBySumIDCompleted(object sender, GetPerformanceAllBySumIDCompletedEventArgs e) private void client_GetPerformanceEmployeeAllBySumIDCompleted(object sender, GetPerformanceEmployeeAllBySumIDCompletedEventArgs e) // 1e { if (e.Error != null && e.Error.Message != "") { //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); } else { if (e.Result != null) { PerformanceRecordList = e.Result; dpGrid.PageSize = 20; PagedCollectionView pager = new PagedCollectionView(PerformanceRecordList); dtgPerformance.ItemsSource = pager; } //dataProjectPager.PageCount = e.; } loadbar.Stop(); }
void client_GetPerformanceEmployeeAllBySumIDCompleted(object sender, GetPerformanceEmployeeAllBySumIDCompletedEventArgs e) { List<V_PERFORMANCERECORD> tmp = new List<V_PERFORMANCERECORD>(); if (e.Error != null && e.Error.Message != "") { //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); } else { if (e.Result != null) { tmp = e.Result.ToList(); } //dpGrid.PageSize = 20; //PagedCollectionView pager = new PagedCollectionView(tmp); //dtgPerformance.ItemsSource = pager; //dataProjectPager.PageCount = e.; } }