예제 #1
0
        private void ListBox_HostingUnit_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            BE.HostingUnit item  = (BE.HostingUnit)listBox_HostingUnit.SelectedItem;
            DockPanel      panel = new DockPanel();

            HostinUnitDetails.Text = item.ToString();
        }
예제 #2
0
 private void OnMouseLeftButtonDown(object sender, RoutedEventArgs e)
 {
     System.Windows.Controls.ListView list = (System.Windows.Controls.ListView)sender;
     BE.HostingUnit selectedObject         = (BE.HostingUnit)list.SelectedItem;
     selectedObject.ToString();
 }