只允许c#windows应用程序中的水平更改表单? [英] allow only horizontal change form in c# windows application ?

查看:68
本文介绍了只允许c#windows应用程序中的水平更改表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




是否有任何方法可以允许使用更改表单大小只是水平和垂直固定?



请帮助我!!

Hi
is there are any way to allow the use change form size just horizontal and the vertical fixed ?

please help me !!

推荐答案

是的,这是可能的。



设置表格MinimumSize.Height和MaximumSize.Height属性为相同的值。
Yes it's possible.

Set the forms MinimumSize.Height and MaximumSize.Height properties to the same value.


这篇关于只允许c#windows应用程序中的水平更改表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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