我们如何在设计模式下指定表单的客户区大小? [英] How do we specify the client area size of a form in design mode?

查看:23
本文介绍了我们如何在设计模式下指定表单的客户区大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用 C# 设计一个表单.我想在设计器中指定表单的客户区".

Size 属性设置完整表单的大小,包括 NC 区域.有没有办法设置客户区大小?

解决方案

您是否查看过 ClientSize 属性?此属性允许您修改控件客户区的大小.似乎正是您要找的.

http://msdn.microsoft.com/en-us/library/system.windows.forms.form.clientsize.aspx

I am designing a form in c#. I want to specify the "Client-Area" of the form in the designer.

The Size property sets the size of the complete form, including the NC area. Is there any way to set the client area size?

解决方案

Have you looked at the ClientSize property? This property allows you to modify the size of the client area of the control. Seems to be what you're looking for.

http://msdn.microsoft.com/en-us/library/system.windows.forms.form.clientsize.aspx

这篇关于我们如何在设计模式下指定表单的客户区大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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