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.
如何禁用 C# 窗体上的最大化按钮?
您需要设置MaximizeBox为 false
MaximizeBox
this.MaximizeBox = false;//this is an instance of Form or its decendant
只需更改属性中的设置- MaximizeBox --> false ;