windows 寻找花式窗体
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6019642/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Looking for Fancy windows forms
提问by Josh
Are there any ready made fancy windows forms on top of which I can build my application?
是否有任何现成的精美 Windows 窗体可以在其上构建我的应用程序?
I was able to find only one working so far..However,the titlebar and stuff don't maximize on double click and some functionalities of traditional windows forms are missing.
到目前为止,我只能找到一个工作。但是,双击时标题栏和内容不会最大化,并且缺少传统窗体的某些功能。
I'm looking for an extended windows forms with good looks.
我正在寻找一个外观漂亮的扩展窗体。
Do you know any libraries that can help produce good looking windows forms?
你知道有哪些库可以帮助生成漂亮的窗体吗?
Please provide me any links ..
请给我任何链接..
Thank you.
谢谢你。
回答by Cody Gray
I know this is probably not the answer that anyone asking this type of question wants to hear, but it's absolutely the answer that they needto hear. The problems with the implementation that you note in your question are exactlythe kinds of problems that run rampant with this type of thing.
我知道这可能不是提出此类问题的任何人都想听到的答案,但这绝对是他们需要听到的答案。您在问题中指出的实施问题正是这类事情猖獗的问题。
Any time that you go about changing the look and feel of standard Windows controls (and especiallysomething as complicated as forms), you're bound to run into problems. There are all kinds of behaviors that users come to expect because they've been a part of the way Windows works since the very beginning. Some of them are big and obvious, and others are minor and trivial. Trivial, that is, until you try to use them out of habit and find that they don't work.
任何时候您要更改标准 Windows 控件(尤其是像表单这样复杂的控件)的外观和感觉,都一定会遇到问题。用户会期待各种各样的行为,因为它们从一开始就成为 Windows 工作方式的一部分。其中一些是大而明显的,而另一些则是次要而微不足道的。微不足道,也就是说,直到您出于习惯尝试使用它们并发现它们不起作用。
This is the reason that users get frustrated with things like custom themed or "skinned" applications. Personally, I all but refuse to use them, and I'm not the only I know who feels that way, from power users to grandmothers. They don't help you to work more productively, and in fact, they often hamper exactly that. And it's hardly worth putting up with the compromise because most skins just don't look all that good in the first place, especiallynot to the subjective aesthetic preferences of individual users. For example, you might skin your application in a nice-looking blue color. But what if I hateblue with a passion? I'm not going to be very happy when I'm using your app, no matter how beautiful you/your designer think it is. What you call "fancy", others might call anywhere from "distasteful" to downright "ugly".
这就是用户对自定义主题或“皮肤”应用程序等内容感到沮丧的原因。就个人而言,我几乎拒绝使用它们,而且我不是唯一一个有这种感觉的人,从高级用户到祖母。它们并不能帮助你提高工作效率,事实上,它们往往恰恰阻碍了这一点。而且几乎不值得妥协,因为大多数皮肤首先看起来并不那么好,尤其是个人用户的主观审美偏好。例如,您可以使用漂亮的蓝色为应用程序设置外观。但如果我讨厌充满激情的蓝色?当我使用你的应用程序时,无论你/你的设计师认为它有多漂亮,我都不会很高兴。你所说的“花哨”,其他人可能会称之为“令人反感”到彻头彻尾的“丑陋”。
By farthe best option is to let the user choose the application's theme. And you don't even need to build a theming system into your application in order to allow for this. Windows has allowed users to customize their system theme since the very beginning. It started out as simply the ability to change the colors used for all on-screen elements, and it's evolved through Windows XP and beyond to a full-fledged theming engine. Stick with it, and resist the urge to tinker. Making your app stick out like a sore thumb is nota good thing here. You want to blend in with the rest of the apps on the user's computer. Familiarity translates directlyto ease-of-use and enhanced user experience. It also means less tech support is required from your company to support your software that you just had to make look different.
通过远的最好的办法是让用户选择应用程序的主题。您甚至不需要在应用程序中构建主题系统来实现这一点。Windows 从一开始就允许用户自定义他们的系统主题。它最初只是能够更改用于所有屏幕元素的颜色,然后通过 Windows XP 发展成为成熟的主题引擎。坚持下去,抵制修补的冲动。让你的应用程序像拇指酸痛一样突出在这里并不是一件好事。您希望与用户计算机上的其他应用程序融合在一起。熟悉直接翻译易于使用和增强的用户体验。这也意味着您的公司需要更少的技术支持来支持您的软件,您只需让它们看起来与众不同。
You just don't get enough value out of this to justify the problems, limitations, and support nightmares. Focus on making your app workbetter, rather than just lookbetter. Users really appreciate that far more, even if they won't admit it. The best changes are the ones that no one ever notices.
您只是没有从中获得足够的价值来证明问题、限制和支持噩梦的合理性。致力于使您的应用程序的工作更好,而不是仅仅看更好。用户真的更欣赏这一点,即使他们不会承认。最好的变化是那些没人注意到的变化。
回答by Brian MacKay
Commercial Options
商业选择
Telerikis debatably the best out there right now, and they put a lot of money into supporting the community by sponsoring podcasts.
Telerik无疑是目前最好的,他们通过赞助播客投入了大量资金来支持社区。
DevExpressis comparable. They have a lot of skins and I've had good experiences with them in the past.
DevExpress具有可比性。他们有很多皮肤,我过去和他们有过很好的经历。
Both of them have WinForms packages that come in at $799.
他们都有 WinForms 软件包,价格为 799 美元。
Nevron UI($169) and DotNetBar($264) are also options. But you get what you pay for, and some of the free options below are worth looking at before spending money on these.
Nevron UI(169 美元)和DotNetBar(264 美元)也是选项。但是一分钱一分货,下面的一些免费选项在花钱之前值得一看。
Free Options
免费选项
WPFis Microsoft's next-gen presentation framework, and it is extremely powerful. It all the features you're looking for and more, although there is a substantial learning curve.
WPF是微软的下一代演示框架,它非常强大。它具有您正在寻找的所有功能以及更多功能,尽管学习曲线很长。
Kryptongets the job done and it's free. It's mature, easy to use, and they continue to updated it. Plus it has a bunch of built-in skins, including some good Office-style skins. I will say that next to WPF it's looking dated. But that goes for most everything.
Krypton完成了工作并且它是免费的。它成熟,易于使用,并且他们会继续更新它。此外,它还有一堆内置皮肤,包括一些不错的 Office 风格的皮肤。我会说在 WPF 旁边它看起来过时了。但这适用于大多数事情。
回答by SLaks
You can use DevExpress, which has a great selection of skins.
您可以使用DevExpress,它有很多皮肤可供选择。
回答by justinlabenne
I have used DevExpress for some WinForms projects: http://www.devexpress.com/
我已经将 DevExpress 用于一些 WinForms 项目:http: //www.devexpress.com/
It costs $$, but if you absolutely have to use WinForms for your project I have found it to come in very handy the controls are pretty easy to implement and use.
它花费 $$,但如果您绝对必须在您的项目中使用 WinForms,我发现它非常方便,控件很容易实现和使用。
回答by IAmTimCorey
If you are looking for a good library to make your forms look good, I would suggest the Telerik suite for WinForms:
如果您正在寻找一个好的库来使您的表单看起来不错,我建议使用用于 WinForms 的 Telerik 套件:
http://www.telerik.com/products/winforms.aspx
http://www.telerik.com/products/winforms.aspx
They look amazing, even if they are WinForms.
它们看起来很棒,即使它们是 WinForms。
回答by Deepesh
Finding directly some free library is difficult, you can use System.Drawing class and using its brush classes and 2D object you can make a form of your choice, some sample has been posted on the following url http://www.csharpkey.com/visualcsharp/gdi/brushes/gradient.htmhttp://www.mycutepictures.com/tutorials/csharp/category/general/
直接找一些免费的库是很困难的,你可以使用 System.Drawing 类并使用它的画笔类和 2D 对象你可以制作你选择的形式,一些示例已发布在以下网址 http://www.csharpkey.com /visualcsharp/gdi/brushes/gradient.htmhttp://www.mycutepictures.com/tutorials/csharp/category/general/
or its better you opt for wpf, there you can have ample number of options
或者你最好选择 wpf,在那里你可以有很多选择