How To Get The Selected Phidget Device From The Phidget Manager Skin

<< Back to the SharedPhidgets page

This is useful, when you want to use the PhidgetManagerSkin to let users select a phidget device from the list :

// The PhidgetManager skin
GroupLab.SharedPhidgets.PhidgetManagerSkin phidgetManagerSkin =
  new GroupLab.SharedPhidgets.PhidgetManagerSkin();

// The listview object
GroupLab.SharedPhidgets.FadingListView listview =

// Now you can use the listview object...
  +=new EventHandler(listview_SelectedIndexChanged);

System.Windows.Forms.ListView.SelectedIndexCollection collection =