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