How do you add a scrollbar to a Panel control with many controls in windows form application?

Chetan picture Chetan · Apr 8, 2009 · Viewed 75.1k times · Source

How do you add a scrollbar to a Panel control with many controls in windows form application?

Answer

Samuel picture Samuel · Apr 8, 2009

Just set the AutoScroll property of your Panel to true and it will handle adding the scrollbars for you.

this.panel1.AutoScroll = true;