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