public MainWindow() { InitializeComponent(); retrieveQuestions(); InitWBuzzTimer(); timer_WBuzz_Tick(null, null); InitWBuzzReceiver(); InitPrioritiesTimer(); handsets = new BuzzHandsetFinder().FindHandsets().ToList(); buzzers = (BuzzHandsetDevice)handsets[0]; buzzers.ButtonChanged += BuzzButtonChangedEventHandler; }
public IEnumerable <IBuzzHandsetDevice> FindHandsets() { return(BuzzHandsetDevice.FindBuzzHandsets()); }