ZForge.Controls.TreeViewAdv.Tree.TreeViewAdv.ArrangeControls C# (CSharp) Method

ArrangeControls() private method

private ArrangeControls ( ) : void
return void
        private void ArrangeControls()
        {
            int hBarSize = _hScrollBar.Height;
            int vBarSize = _vScrollBar.Width;
            Rectangle clientRect = ClientRectangle;

            _hScrollBar.SetBounds(clientRect.X, clientRect.Bottom - hBarSize,
                clientRect.Width - vBarSize, hBarSize);

            _vScrollBar.SetBounds(clientRect.Right - vBarSize, clientRect.Y,
                vBarSize, clientRect.Height - hBarSize);
        }
TreeViewAdv