问题
How do you add a scrollbar to a Panel control with many controls in windows form application?
回答1:
Just set the AutoScroll
property of your Panel
to true and it will handle adding the scrollbars for you.
this.panel1.AutoScroll = true;
来源:https://stackoverflow.com/questions/730376/how-do-you-add-a-scrollbar-to-a-panel-control-with-many-controls-in-windows-form