是否有一个MessageBox相当于在WPF? [英] Is there a MessageBox equivalent in WPF?
本文介绍了是否有一个MessageBox相当于在WPF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在WPF中标准的消息框,像WinForms的 System.Windows.MessageBox.Show()
,或者我应该使用的WinForms消息框?
Is there a standard message box in WPF, like WinForms' System.Windows.MessageBox.Show()
, or should I use the WinForms message box?
推荐答案
在WPF相当于将是<一个href=\"http://msdn.microsoft.com/en-us/library/ms602949.aspx\"><$c$c>System.Windows.MessageBox$c$c>.它有一个非常类似的界面,但使用其他枚举参数和返回值。
The WPF equivalent would be the System.Windows.MessageBox
. It has a quite similar interface, but uses other enumerations for parameters and return value.
这篇关于是否有一个MessageBox相当于在WPF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文