示例#1
0
        void clientAtt_GetPersonalLandDetailListByMultSearchCompleted(object sender, GetPersonalLandDetailListByMultSearchCompletedEventArgs e)
        {
            RefreshUI(RefreshedTypes.HideProgressBar);
            if (e.Error == null)
            {
                ObservableCollection <V_LandDetail> entResList = e.Result;

                dgLandDetailList.ItemsSource = entResList;
                dataPager.PageCount          = e.pageCount;

                txtLoginTimes.Text       = e.iLoginTimes.ToString();
                txtLoginPersonCount.Text = e.iLoginPersonCount.ToString();
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
            }
        }
示例#2
0
        void clientAtt_GetPersonalLandDetailListByMultSearchCompleted(object sender, GetPersonalLandDetailListByMultSearchCompletedEventArgs e)
        {
            RefreshUI(RefreshedTypes.HideProgressBar);
            if (e.Error == null)
            {
                ObservableCollection<V_LandDetail> entResList = e.Result;

                dgLandDetailList.ItemsSource = entResList;
                dataPager.PageCount = e.pageCount;

                txtLoginTimes.Text = e.iLoginTimes.ToString();
                txtLoginPersonCount.Text = e.iLoginPersonCount.ToString();
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
            }
        }