protected override void OnEndDrag(bool abort) { DockPanel.SuspendLayout(true); Outline.Close(); if (!abort) { DragSource.MoveSplitter(GetMovingOffset(Control.MousePosition)); } DragSource.EndDrag(); DockPanel.ResumeLayout(true, true); }
protected override void OnEndDrag(bool abort) { DockPanel.SuspendLayout(true); Outline.Close(); Indicator.Close(); EndDrag(abort); DockPanel.ResumeLayout(true, true); DragSource = null; }
protected override void OnEndDrag(bool abort) { DockPanel.SuspendLayout(true); Outline.Close(); Indicator.Close(); EndDrag(abort); // Queue a request to layout all children controls DockPanel.PerformMdiClientLayout(); DockPanel.ResumeLayout(true, true); DragSource = null; }