protected virtual void OnPortChanged() { EventHandler handler = PortChanged; if (handler != null) handler(this, EventArgs.Empty); }