I'm trying to have the user input their name using
if (!Guide.IsVisible)
{
// display the guide
Guide.BeginShowKeyboardInput(PlayerIndex.One,
"Name entry", // title for the page
"Enter your name", // question for user
"Fred", // default text
asyncResult =>
{
InputtedText = Guide.EndShowKeyboardInput(asyncResult);
System.Diagnostics.Debug.WriteLine(InputtedText);
},
this); // object reference
}
but this runs Asynchronously. I need this to be modal because I do not want anything else to continue processing until I get the user input. Does anyone know how to do this? The work around I used for the messagebox on WP7 was to use Silverlights implementation of MessageBox as opposed to XNA's Guide.BeginShowMessageBox. Why would they make these things asynchronous!? >:[