/// <summary> /// 获取所有绩效考核人员后的事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> // 1s 冉龙军 //private void client_GetPerformanceAllBySumIDCompleted(object sender, GetPerformanceAllBySumIDCompletedEventArgs e) private void client_GetPerformanceDetailEmployeeAllBySumIDCompleted(object sender, GetPerformanceDetailEmployeeAllBySumIDCompletedEventArgs 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.; } }
/// <summary> /// 获取所有绩效考核人员后的事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> // 1s 冉龙军 //private void client_GetPerformanceAllBySumIDCompleted(object sender, GetPerformanceAllBySumIDCompletedEventArgs e) private void client_GetPerformanceDetailEmployeeAllBySumIDCompleted(object sender, GetPerformanceDetailEmployeeAllBySumIDCompletedEventArgs 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.; } }