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