c# - Windows 窗体 - mac - xamarin

标签 c# xamarin-studio

这里是初学者问题,我正在学习编码并且使用 C# 已经有几个星期了。 现在我正在尝试使用 Windows.Forms,到目前为止我还不确定应该加载哪种解决方案。我正在使用 Mac 和 Tamarin Studio。 Xamarin 仅提供 Xamarin.Forms,但我不确定。 有没有人伸出援手?

最佳答案

Xamarin Studio 仅适用于跨平台应用程序开发。这意味着您可以使用 C# 编写您的 Android 和 iOS 应用程序。您最多可以开发一个控制台项目,仅此而已。

不要将 Xamarin.Forms 与 Windows 窗体 (WinForms) 混淆。

Xamarins.Forms Xamarin.Forms is a cross-platform UI toolkit that allows developers to easily create native user interface layouts that can be shared across Android, iOS, and Windows Phone. (Source)

WindowsForms Windows Forms (WinForms) is a graphical (GUI) class library included as a part of Microsoft .NET Framework, providing a platform to write rich client applications for desktop, laptop, and tablet PCs. (Source)

因此,为了回答您的问题,如果您想使用 Windows 窗体构建 Windows 应用程序(尽管我建议使用 WPF,因为它更现代),您将需要在 Windows 上使用 Visual Studio 或其他兼容的 IDE 来执行此操作。

关于c# - Windows 窗体 - mac - xamarin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35477153/

相关文章:

Xamarin 加载项不起作用,看不到加载项列表

visual-studio - 无法安装 NuGet 包 Microsoft.Bcl.Build 1.0.14

c# - Emgucv 如何将 FileNode 转换为 Matrix?

c# - 如何使用情感图标和文本 Windows Phone 制作聊天消息气泡

c# - System.Drawing.Graphics 非常大的图像

c# - 将 'Xamarin.Forms' 添加到...未将对象引用设置为对象的实例。添加 nuget 包时出现错误

c# - 抽象单例背后的 IoC 容器——做错了吗?

c# - 异步/等待异常和 Visual Studio 2013 调试输出行为

c# - Xamarin 中的日志记录库和 MetroLog 中的错误报告样式

c# - 如何从 c# Xamarin android 中的浏览器链接打开应用程序?