internal void OnErrorReceived(SerialErrorReceivedEventArgs args) { ((SerialErrorReceivedEventHandler)Events[error_received])?.Invoke(this, args); }
private void HanldeErrorReceived(object sender, SerialErrorReceivedEventArgs e) { Console.WriteLine(e.EventType); }