ARCed.UI.DockPane.SetParent C# (CSharp) Method

SetParent() private method

private SetParent ( ) : void
return void
        private void SetParent()
        {
            if (this.DockState == DockState.Unknown || this.DockState == DockState.Hidden)
            {
                this.SetParent(null);
                this.Splitter.Parent = null;
            }
            else if (this.DockState == DockState.Float)
            {
                this.SetParent(this.FloatWindow);
                this.Splitter.Parent = this.FloatWindow;
            }
            else if (DockHelper.IsDockStateAutoHide(this.DockState))
            {
                this.SetParent(this.DockPanel.AutoHideControl);
                this.Splitter.Parent = null;
            }
            else
            {
                this.SetParent(this.DockPanel.DockWindows[this.DockState]);
                this.Splitter.Parent = Parent;
            }
        }

Same methods

DockPane::SetParent ( Control value ) : void