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