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

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

            //}

        }