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.
我有一个我正在动态添加用户控件的流程面板。我希望它继续添加它们并使用垂直滚动条。而是将它们包装到顶部并放置一个水平滚动条。我确定我只是遗漏了一些东西,但是如何让它进行垂直滚动呢?
我弄清楚我做了什么。我将流向设置为 TopDown,它需要设置为 LeftRight。
有时我觉得自己像个白痴。
你必须启用滚动写这个:flowLayoutPanel1.AutoScroll = true;
flowLayoutPanel1.AutoScroll = true;