Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在一个表单中有 5 个面板,我想将这 5 个面板添加到垂直滚动条,如果我滚动,它会从第一个面板跳到第二个面板。请建议我用 c# 编写代码。
谢谢, 兰詹
尝试将五个面板放在一个面板内,其中单个面板已AutoScroll=true;设置。
AutoScroll=true;