与.NET Core中的messageBox类似的方法 [英] Similar method to messageBox in .NET core

查看:604
本文介绍了与.NET Core中的messageBox类似的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何方法可以在.NET核心中显示诸如MessageBox.Show之类的弹出消息?

Is there any method to display pop up message like MessageBox.Show in .NET core?

推荐答案

否. .NET Core专注于Web,而Messagebox是Winforms. .NET Core中没有Winforms支持.

No. .NET Core is focused on web, Messagebox is a winforms thing. And there is no winforms support in .NET Core.

关于为什么没有Microsoft.UI.WinForms .Net Core软件包"的正式答案

A more-or-less official answer on "Why is there no Microsoft.UI.WinForms .Net Core package"

我的团队(Microsoft .NET团队)专注于将.NET Core作为云 和网络框架.我们知道人们希望我们建立 .NET Core的其他应用程序类型.现在,我们剩下 专注.许多其他开发人员希望我们继续专注于我们所拥有的 从.NET Core开始,这就是我们的意图.

My team (the Microsoft .NET team) is focused on .NET Core as a cloud and web framework. We know that folks would like us to build additional application types for .NET Core. For now, we're remaining focused. Many other developers want us to stay focused on what we've started with .NET Core and that's our intention.

https://github.com/dotnet/core/issues/374

这篇关于与.NET Core中的messageBox类似的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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