【发布时间】:2014-04-07 10:06:25
【问题描述】:
我想使用 MessageBox 在我的 WP8.1 应用中显示下载错误。
我补充说:
using System.Windows;
但是当我输入时:
MessageBox.Show("");
我得到错误:
"The name 'MessageBox' does not exist in the current context"
在对象浏览器中我发现应该存在这样的类,并且在“项目->添加引用...->程序集->框架”中显示所有程序集都被引用。
我错过了什么吗?或者还有其他方法可以显示消息框之类的东西吗?
【问题讨论】:
标签: c# windows-phone-8.1 win-universal-app