public ConnectionChangedEventArgs(TeensyWatcher.ChangeType type, USBDevice changedDevice) { ChangeType = type; ChangedDevice = changedDevice; }
protected void OnConnectionChanged(ChangeType type, USBDevice changedDevice) { ConnectionChanged?.Invoke(this, new ConnectionChangedEventArgs(type, changedDevice)); }