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