获胜表格的第三方组件.... [英] Third Party components for win forms....

查看:77
本文介绍了获胜表格的第三方组件....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有免费的第三方组件,用于开发有吸引力的win-form以及如何根据不同的屏幕分辨率调整表单控件的大小(即,当屏幕分辨率变化时,表单控件应相应调整大小)?

Are there any third party components that is free, for developing attractive win-forms and also how to resize form controls according to different screen resolution (ie, when screen resolution chages the form controls should resize accordingly) ?

推荐答案

请看我对这个问题的评论。



另外,绝对没有必要在任何第三方组件中解决这样一个简单的问题。在 System.Windows.Forms 的设计中已经提供了所有内容。 (或者你认为这个图书馆的创作者是完整的蠢货吗?:-))



但这个问题几乎与屏幕分辨率无关。首先,你所谓的屏幕分辨率不是分辨率,这是屏幕像素的大小;和分辨率是一个非常不同的事情。您还应该考虑到,即使用户是大屏幕,此人也有权调整主窗口的大小。在大多数情况下,提供固定大小的表格并不好。



这些想法和技术非常简单,对尺寸容差设计的要求是其中之一最基本的。请查看我过去的答案:

屏幕分辨率更改时,Zom Out出现故障 [ ^ ],

如何停靠按钮,以便它可以调整表格 [ ^ ](一个基本代码此处示例);

另见: GUI Apperance - C#。净 [ ^ ]。



至于有吸引力的形式,这是一个设计技巧,品味,经验的问题。同样,没有第一方或第三方组件可以保证它。



-SA
Please see my comment to the question.

Also, there is absolutely no need in any 3rd-party component for solving such a simple problem. Everything is already provided in the design of System.Windows.Forms. (Or did you think the creators of this library were complete morons? :-))

But the problem is barely related to "screen resolution". First of all, what you cal "screen resolution" is not resolution, this is a size of the screen in pixel; and resolution is a very different thing. You should also take into account that, even if a user a big screen, this person has a full right to resize the main window. In most cases, this is not nice to provide fixed-size forms.

The ideas and techniques are extremely simple, and the requirement for size-tolerant design is one of the most elementary ones. Please see my past answers:
Zom Out malfunctions when Screen resolution changes[^],
how to dock button so that it can adjust with the form[^] (a rudimentary code sample here);
see also: GUI Apperance - C#.Net[^].

As to the "attractive forms", this is a matter of design skills, taste, experience. Again, no 1st-party or 3rd-party components can guarantee it.

—SA


这篇关于获胜表格的第三方组件....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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