简体   繁体   English

如何创建运行所有(桌面)平台的 c# windows forms 应用程序之类的东西?

[英]How do you create something like a c# windows forms app that runs an all (desktop) platforms?

I want to make a c# desktop app that runs on at least Mac and Windows.我想制作一个至少在 Mac 和 Windows 上运行的 c# 桌面应用程序。 I use Mac.我用麦克。 Is this even possible?这甚至可能吗? I am not sure how do this, I have only found these options:我不知道怎么做,我只找到了这些选项:

c# console application - This is close but I want to be able to have it open a window and have buttons, input fields etc. Im not sure how to do that. c# 控制台应用程序 - 这是关闭的,但我希望能够打开 window 并具有按钮、输入字段等。我不知道该怎么做。

Xamarian Forms - This seems to only work for Mac and mobile platforms Xamarian Forms - 这似乎只适用于 Mac 和移动平台

Mono - I have heard of Mono, Visual Studio for Mac says it is built on it and can be used to make cross-platform applications. Mono - 我听说过 Mono,Visual Studio for Mac 说它是基于它构建的,可用于制作跨平台应用程序。 How does it work?它是如何工作的? How do I use it?我该如何使用它? Is it just for the console application to work?它只是为了控制台应用程序工作吗?

Thank you for any info you can provide.感谢您提供的任何信息。

There doesn't seem to be a visual editor for mac and windows alike, but using a library like Gtk# is working fine for me and allows me to make a gui application似乎没有适用于 mac 和 windows 的可视化编辑器,但是使用像 Gtk# 这样的库对我来说效果很好,并且允许我制作一个 gui 应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM