예제 #1
0
        /// <summary>
        /// 获取班次定义记录
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void clientAtt_GetShiftdEfineListByMultSearchCompleted(object sender, GetShiftDefineListByMultSearchCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                ObservableCollection<T_HR_SHIFTDEFINE> entList = e.Result;

                dgSEList.ItemsSource = entList;
                dataPager.PageCount = e.pageCount;

                ShowShiftDefine();
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
            }

            loadbar.Stop();
        }