当前位置: 动力学知识库 > 问答 > 编程问答 >

visual studio - using Windows.UI.Popups

问题描述:

I am trying to make a WPF app for school. it's very simple, just needs to take users name as input and when the ok button is clicked a dialog box comes up saying Hi (your name). I've only ever done console applications before so I'm having trouble figuring out the WPF stuff. my books says to use Windows.UI.Popups and then write the code MessageDialog msg = new MessageDialog ("Hello " + username.Text); then put msg.ShowAsync ();

the problem is it just keeps saying UI is not a namespace? what am I missing?

分享给朋友:
您可能感兴趣的文章:
随机阅读: