我想使用MessageBox在我的WP8.1应用程序中显示下载错误.
我补充说:
using System.Windows;
Run Code Online (Sandbox Code Playgroud)
但是当我键入:
MessageBox.Show("");
Run Code Online (Sandbox Code Playgroud)
我收到错误:
"The name 'MessageBox' does not exist in the current context"
Run Code Online (Sandbox Code Playgroud)
在对象浏览器中,我发现这样的类应该存在,并且在"Project-> Add reference ... - > Assemblies-> Framework"中显示所有程序集都被引用.
我错过了什么吗?或者还有另一种方式来展示像messagebox这样的东西?