Display MessageBox in WP7(XNA)

Assuming you need to show a MessageBox in an XNA application on WP7,the easiest way is to add System.Windows namespace.

using System.Windows;


Then you need to call "Classic" Show function of MessageBox


 MessageBox.Show("Hello There!");


Here have a look at what we've achieved: 


 


Hope it helps!
Ebook Download
View all
Learn
View all
Araf Global is a software consultancy company founded in 2016 focusing on cutting edge technologies.