Blog

Display MessageBox in WP7(XNA)

Posted by Ibrahim Ersoy Blogs | Windows Phone May 23, 2012
You may need to show MessageBox in a WP7-XNA project,here is how its done!

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!
COMMENT USING
PREMIUM SPONSORS
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Employers - Post Free Jobs
SPONSORED BY
  • MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.