简体   繁体   中英

how to disable maximize button on c# form

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM