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