private void RefreshChanges(bool performLayout) { if (IsDisposed) { return; } if (CaptionControl != null) { CaptionControl.RefreshChanges(); } TabStripControl.RefreshChanges(); if (DockState == DockState.Float && FloatWindow != null) { FloatWindow.RefreshChanges(); } if (DockHelper.IsDockStateAutoHide(DockState) && DockPanel != null) { DockPanel.RefreshAutoHideStrip(); DockPanel.PerformLayout(); } if (performLayout) { PerformLayout(); } }
private void RefreshChanges(bool bPerformLayout) { CaptionControl.RefreshChanges(); TabStripControl.RefreshChanges(); if (DockState == DockState.Float) { FloatWindow.RefreshChanges(); } if (DockHelper.IsDockStateAutoHide(DockState) && DockPanel != null) { DockPanel.RefreshAutoHideStrip(); DockPanel.PerformLayout(); } if (bPerformLayout) { PerformLayout(); } }