WinMons vs GtkSharp与Mono [英] WinForms vs GtkSharp with Mono

查看:81
本文介绍了WinMons vs GtkSharp与Mono的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Mono开发要在Windows和Mac OSX(可能是Linux)上运行的应用程序时,您会建议使用WinForms或GtkSharp作为GUI,为什么?

When developing with Mono for an app to be run on Windows and Mac OSX (and maybe Linux) which would you suggest, WinForms or GtkSharp for the GUI and why?

具体示例和成功/恐怖故事将不胜感激.

Specific examples and success/horror stories would be much appreciated.

推荐答案

跨平台开发是一个不错的主意,但是老实说,我从未见过在其外观之外看上去真的很强的应用程序.本机环境.这就是我认为的原因,如果您真的想提供良好的用户体验,则应在要支持的所有平台上使用本机工具包.​​

Cross platform development is a nice idea, but to be completely honest I have never seen an application that looks really good outside of its native environment. That is why I think, that if you really want to offer good user experience you should use native toolkits on all platforms that you want to support.

当然,如果您只想证明概念,那么Mac(或Linux)上的WinForms可以,但是如果您想要与其他本机解决方案竞争的应用程序,那么您真的应该考虑为每个应用程序编写一个单独的本机前端.支持的平台.

Of course, if you just want a proof of concept, then WinForms on a Mac (or Linux) are alright but if you want an application that competes against other native solution then you really should consider writing a separate native frontend for each supported platform.

一个很好的例子是 MindManager . http://www.mindjet.com/"rel =" noreferrer> Mindjet .他们的Mac版本是完整的,从头开始重写界面.结果是一个应用程序,为Mac用户提供了他们学会在平台上期望的体验.

A good example how that was done is MindManager from Mindjet. Their Mac version is a full, from scratch rewrite of the interface. The result is an application that gives Mac users the experience that they learned to expect on their platform.

所以,回到Mono. Mono中有可可绑定.就个人而言,我从未尝试过使用它们,但是如果您想将Mac与您的应用程序结合使用,它们肯定值得一看.如果可以将它们视为在Mac上进行UI开发的有效选择,那就太好了.

So, back to Mono. There are Cocoa bindings in Mono. Personally, I have never tried using them, but if you want to target Macs with your application, they are certainly worth a look. It would be really great if they could be regarded as a valid choice for UI development on a Mac.

这篇关于WinMons vs GtkSharp与Mono的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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