How do I disable the maximize button on a C# form?
您需要将MaximizeBox
设置为false
this.MaximizeBox = false;//this is an instance of Form or its decendant
只需在Properties - MaximizeBox- > false中更改设置即可;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.