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.
当我尝试调整表单大小时,我发现控件正在调整大小
[问题] 如何防止控件随表单调整大小?!
控件在两种情况下调整大小
当控件停靠时
当 Anchor 属性包含左侧和右侧或上边框和下边框的锚点时。
释放左/右和上/下锚点之一。
更改Control.Anchor属性,使控件不会调整大小。
Control.Anchor