protected virtual void OnMessageReceivedEvent(PCANComEventArgs e) { if (OnMessageReceived != null) { OnMessageReceived(this, e); } }
protected virtual void OnMessageReceivedEvent(PCANComEventArgs e) { EventHandler <PCANComEventArgs> handler = OnMessageReceived; if (handler != null) { handler(this, e); } }
protected virtual void OnMessageReceivedEvent(PCANComEventArgs e) { EventHandler<PCANComEventArgs> handler = OnMessageReceived; if (handler != null) { handler(this, e); } }