private void OnRegisterDockPanel(object sender, DevExpress.XtraBars.Docking.DockPanelEventArgs e) { e.Panel.AllowDrop = true; e.Panel.DragOver += OnPanelDragOver; }
private void OnUnregisterDockPanel(object sender, DevExpress.XtraBars.Docking.DockPanelEventArgs e) { e.Panel.DragOver -= OnPanelDragOver; }
private void dockManager_ClosedPanel(object sender, DevExpress.XtraBars.Docking.DockPanelEventArgs e) { dockManager.RemovePanel(e.Panel); }