制作一个C#/ WinForm应用程序的跨平台 - 我应该使用空调,单声道,还是其他什么东西? [英] Making a C#/Winform application cross-platform - should I use AIR, Mono, or something else?

查看:458
本文介绍了制作一个C#/ WinForm应用程序的跨平台 - 我应该使用空调,单声道,还是其他什么东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有,我已经写在C#/的WinForms(我的小应用应用程序)。为了让跨平台的,我想在Adobe AIR重做它。是否有利于的WinForms作为一个跨平台的应用程序的任何参数?是否有一个跨平台的未来的WinForms(例如,单声道,等等)?跨平台用户界面开发的建议?



通过跨平台我的意思是,目前的Mac OSX,Windows和Linux。



这个问题是再次要求和更好的成功回答


解决方案

我想在Adobe AIR重做它




由于没有花了很多时间与空气,我个人的看法是,它是最好的带来的webapp到桌面,并给它提供一个壳或在桌面上运行现有的闪光/ Flex项目。



顺便说一句,如果你不知道的ActionScript,我的意思是它的细节,怪癖等,不要忘记它会使用Google的解答时间因素。




是否有赞成的WinForms作为一个跨平台的应用程序的任何参数?
是否有一个跨平台的未来的WinForms(例如,单声道,等等)?




它总是很难预测会发生什么,但至少有一个项目(塑料SCM)我知道它的使用在Win,Mac和Linux的单声道的WinForms,所以它肯定是可行的。然而,他们说,他们建造的大部分控制的从地上爬起来(并声称他们要释放他们作为开源的,但不知道是否或何时),所以你需要把一些工作,使事情看起来漂亮 。



我的WinForms发挥在非Windows平台上,不幸的是,这是不完全成熟(尤其是在Mac)。所以,你得到的开箱未必足以满足您的需求。什么



如果你决定一个桌面应用程序是不是提供一个跨平台的最佳途径解决方案,您可以随时把你的业务逻辑,用C#编写,并与ASP.NET创建或者一个成熟的Web应用程序或与Silverlight去,所以很多其他选择用C#存在。


I have an app that I've written in C#/WinForms (my little app). To make it cross-platform, I'm thinking of redoing it in Adobe AIR. Are there any arguments in favor of WinForms as a cross-platform app? Is there a cross-platform future for Winforms (e.g., Mono, etc.)? Suggestions for cross-platform UI development?

By cross-platform I mean, currently, Mac OSX, Windows and Linux.

This question was asked again and answered with better success.

解决方案

I'm thinking of redoing it in Adobe AIR

Not having spent much time with AIR, my personal opinion is that it is best for bringing a webapp to the desktop and provide a shell to it or run your existing flash/flex project on the desktop.

Btw, if you don't know ActionScript, I mean its details, quirks, etc, don't forget to factor in the time it will take googling for answers.

Are there any arguments in favor of WinForms as a cross-platform app? Is there a cross-platform future for Winforms (e.g., Mono, etc.)?

It's always hard to predict what will happen, but there is at least one project (Plastic SCM) I know of which uses Mono Winforms on Win, Mac and Linux, so it is certainly doable. However, they say they built most of their controls from the ground up (and claim they want to release them as open source, but not sure if or when), so you will need to put in some work to make things look "pretty".

I played with Winforms on non-windows platforms and unfortunately, it isn't exactly "mature" (especially on Mac). So what you get out of the box may or may not be sufficient for your needs.

If you decide a desktop app is not the best way to provide a cross-platform solution, you can always take your business logic written in C# and create either a full-blown webapp with ASP.NET or go with Silverlight, so many other options exist with C#.

这篇关于制作一个C#/ WinForm应用程序的跨平台 - 我应该使用空调,单声道,还是其他什么东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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