示例#1
0
        /// <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();
        }
示例#2
0
        /// <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();
        }