ARCed.UI.DockPanel.GetAutoHideWindowBounds C# (CSharp) Method

GetAutoHideWindowBounds() private method

private GetAutoHideWindowBounds ( Rectangle rectAutoHideWindow ) : Rectangle
rectAutoHideWindow System.Drawing.Rectangle
return System.Drawing.Rectangle
        internal Rectangle GetAutoHideWindowBounds(Rectangle rectAutoHideWindow)
        {
            if (this.DocumentStyle == DocumentStyle.SystemMdi ||
                this.DocumentStyle == DocumentStyle.DockingMdi)
                return (Parent == null) ? Rectangle.Empty : Parent.RectangleToClient(RectangleToScreen(rectAutoHideWindow));
            else
                return rectAutoHideWindow;
        }