//---- Список элементов по месту void wc_ws_selectDevListByPlaceCompleted(object sender, ws_selectDevListByPlaceCompletedEventArgs e) { if (e.Result != null) { ItemsByPlace = new PagedCollectionView(e.Result); ItemsByPlace.PageSize = DevList_PageSize; dp_Pager.Source = ItemsByPlace; dg_DevList.ItemsSource = ItemsByPlace; txt_NodeName.Text = e.Path; } else { cwnd_ShitHappens w = new cwnd_ShitHappens(ErrorResources.err_SELECT, e.OpStatus.ToString()); w.Show(); } }
//---- Список элементов по месту void wc_ws_selectDevListByPlaceCompleted(object sender, ws_selectDevListByPlaceCompletedEventArgs e) { if (e.Result != null) { ItemsByPlace = new PagedCollectionView(e.Result); ItemsByPlace.PageSize = DevList_PageSize; dp_Pager.Source = ItemsByPlace; dg_DevList.ItemsSource = ItemsByPlace; txt_NodeName.Text = e.Path; } else { cwnd_ShitHappens w = new cwnd_ShitHappens(ErrorResources.err_SELECT, e.OpStatus.ToString()); w.Show(); } }