<p>When creating scrollable user controls with .NET and WinForms I have repeatedly encountered situations where, for example, a vertical scrollbar pops up, overlapping the control's content, causing a horizontal scrollbar to also be needed.  Ideally the content would shrink just a bit to make room for the vertical scrollbar.</p>

<p>My current solution has been to just keep my controls out of the far right 40 pixels or so that the vertical scroll-bar will be taking up.  Since this is still effectively client space for the control, the horizontal scroll-bar still comes up when it gets covered by the vertical scroll-bar, even though no controls are being hidden at all.  But then at least the user doesn't actually need to <strong>use</strong> the horizontal scrollbar that comes up.</p>

<p>Is there a better way to make this all work?  Some way to keep the unneeded and unwanted scrollbars from showing up at all?</p>

If your controls are inside a panel, try setting the AutoScroll property of the Panel to False.  This will hide the scrollbars.  I hope this points you in the right direction.
```
```
myPanel.AutoScroll = False
```
```