예제 #1
0
        public void ListViewItem_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            ICollection <Element> selectedElems = new List <Element>();
            ListViewItem          item          = sender as ListViewItem;

            string elementIdAsString = (item.Content as MyListViewItem).Id;

            TaskDialog.Show("title", $"{(item.Content as MyListViewItem).CategoryName} {elementIdAsString}");

            Lab5Button.MakeSelection(_uidoc, elementIdAsString);
        }
예제 #2
0
 public new void MouseClick(object sender, RoutedEventArgs e)
 {
     Lab5Button.PopulateList();
 }