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;