Windows 8 metro应用程序 - 使用C#通过OK按钮弹出警报?

Hen*_*ian -4 .net c# windows popup windows-8

我正在编写一个注册屏幕,当登录信息不正确时会弹出错误提示.

Gar*_*054 17

一行......

await new Windows.UI.Popups.MessageDialog("Man why did they have to make this so complicated in Win 8").ShowAsync();
Run Code Online (Sandbox Code Playgroud)