예제 #1
0
        void MeetingInfoClient_GetMeetintInfosListByTitleTimeSearchCompleted(object sender, GetMeetintInfosListByTitleTimeSearchCompletedEventArgs e)
        {
            if (!e.Cancelled)
            {
                if (e.Result != null)
                {
                    List<T_OA_MEETINGINFO> infos = new List<T_OA_MEETINGINFO>(e.Result);
                    if (infos.Count() > 0)
                    {
                        //dpGrid.PageSize = 3;
                        PagedCollectionView pager = new PagedCollectionView(infos);
                        DaGr.ItemsSource = pager;
                    }
                }
                else
                {
                    MessageBox.Show("对不起,没找到您需要的数据!");
                }

            }
        }
예제 #2
0
 void MeetingInfoClient_GetMeetintInfosListByTitleTimeSearchCompleted(object sender, GetMeetintInfosListByTitleTimeSearchCompletedEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.Result != null)
         {
             List <T_OA_MEETINGINFO> infos = new List <T_OA_MEETINGINFO>(e.Result);
             if (infos.Count() > 0)
             {
                 //dpGrid.PageSize = 3;
                 PagedCollectionView pager = new PagedCollectionView(infos);
                 DaGr.ItemsSource = pager;
             }
         }
         else
         {
             MessageBox.Show("对不起,没找到您需要的数据!");
         }
     }
 }