如何删除最大化按钮 [英] How to remove maximize button

查看:95
本文介绍了如何删除最大化按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个Windows窗体(C#).我想从窗口中删除最大化按钮.如果我喜欢

Hi All,

I''ve a windows form (C#). I want to remove maximize button from the window. If i do like

MaximizeBox = false;



最大化按钮仅是不合理的.但我想将其删除.



maximize button is disbale only. But i want to remove it. How to do this?

推荐答案

您不能仅删除最大化"按钮.您必须将最小化"和最大化"都设置为False,两个按钮都将消失.您不能只执行其中之一,而使该按钮消失.
You can''t remove just the Maximize button. You have to set both Minimize and Maximize to False and both buttons will disappear. You can''t do just one of them and have that button disappear.


这篇关于如何删除最大化按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆