public void RegisterEvent(PanelClose panelClosingEventHandle) { if (this._dp != null) { this.OnClosingPanel = panelClosingEventHandle; this._dp.ClosingPanel += new DockPanelCancelEventHandler(this._pnew_ClosingPanel); } }
protected virtual void RaisePanelCloseEvent() { PanelClose?.Invoke(this); }