最大化和最小化形式 [英] maximising and minimising forms

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

问题描述

大家好:)

我正在使用Visual Studio 2008进行项目的GUI.
我有个问题.在最大化表单的同时,内容保持与最小化时相同的大小.如果窗口表单内容的大小随窗口大小的增加而增加.

我要求您对此进行帮助.

谢谢:)

hi all :)

i''m working on the GUI of my project on Visual Studio 2008.
i have a problem. while maximizing the form, the contents remain the same size as when it is minimized. it would be great if the size of the windows form contents increased with the size of the window.

i request u to kindly help me with this.

Thank You :)

推荐答案

您可以构建可配置用于调整大小的表单.您可能需要查看 http://www.developerfusion.com/samplechapter/4375/building -windows-applications/5/ [ ^ ].
You can build a form that is configurable for resizing. You might want to look at http://www.developerfusion.com/samplechapter/4375/building-windows-applications/5/[^].


Abhinav是完全正确的.使用他引用的说明.

另外,根据我过去的答案检查我的方向: 屏幕分辨率更改时,Zom Out发生故障 [ ^ ],
另请参见:
GUI外观-C#.Net [
Abhinav is absolutely right. Use the directions he referenced.

Also, check up my directions from my past answers:
Zom Out malfunctions when Screen resolution changes[^],
See also:
GUI Apperance - C#.Net[^].

—SA


在控件上设置锚点.默认值是left和top,设置为left,top bottom .... left,top,bottom,right ... right,top ..... right,top,bottom等.可以在属性窗口中找到此设置.
set your anchor on your controls. the default is left and top, setting to left, top bottom....left,top,bottom,right.....right, top.....right,top,bottom and so forth. this setting can be found in the properties window.


这篇关于最大化和最小化形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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