public void Stop()
 {
     devices.OnNewEvent -= Devices_OnNewEvent;
     devices.Stop();
 }
Example #2
0
 protected override void OnClosing(CancelEventArgs e)
 {
     base.OnClosing(e);
     inputdevices.Stop();
 }