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