问题描述:

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?

相关阅读:
Top