/// <summary> /// 返回考勤月度结算数据 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void clientAtt_GetAttendYearlyBalanceListByMultSearchCompleted(object sender, GetAttendYearlyBalanceListByMultSearchCompletedEventArgs e) { if (e.Error == null) { IEnumerable<T_HR_ATTENDYEARLYBALANCE> entAYBList = e.Result; dgAYBList.ItemsSource = entAYBList; 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_GetAttendYearlyBalanceListByMultSearchCompleted(object sender, GetAttendYearlyBalanceListByMultSearchCompletedEventArgs e) { if (e.Error == null) { IEnumerable <T_HR_ATTENDYEARLYBALANCE> entAYBList = e.Result; dgAYBList.ItemsSource = entAYBList; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } loadbar.Stop(); }