コード例 #1
0
ファイル: OutAppliecation.xaml.cs プロジェクト: JuRogn/OA
        void clientAtt_EmployeeOutApplyRecordPagingCompleted(object sender, EmployeeOutApplyRecordPagingCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                List<T_HR_OUTAPPLYRECORD> list = new List<T_HR_OUTAPPLYRECORD>();
                if (e.Result != null)
                {
                    list = e.Result.ToList();
                }
                dgOTList.ItemsSource = list;

                dataPager.PageCount = e.pageCount;
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message.ToString());
            }

            loadbar.Stop();
        }
コード例 #2
0
ファイル: OutAppliecation.xaml.cs プロジェクト: jjg0519/OA
        void clientAtt_EmployeeOutApplyRecordPagingCompleted(object sender, EmployeeOutApplyRecordPagingCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                List <T_HR_OUTAPPLYRECORD> list = new List <T_HR_OUTAPPLYRECORD>();
                if (e.Result != null)
                {
                    list = e.Result.ToList();
                }
                dgOTList.ItemsSource = list;

                dataPager.PageCount = e.pageCount;
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message.ToString());
            }

            loadbar.Stop();
        }