Windows Mobile Jump to Page

Probably very simple - I can see how you can click a button on a Windows Mobile form and jump to another page but how do you do this in code-behind?  I have a logon form which is done asynchronously as it communicates with a web service.  When my async request completed event fires it calls a function where I check to see if the logon was successful and if so jump to the main page of the application = how do I do this though?
ChrisMDrewAsked:
Who is Participating?
 
Mikal613Connect With a Mentor Commented:
For Windows Phone 7:

this.NavigationService.Navigate(new Uri("/YourNewPage.xaml", UriKind.Relative));

For WM6.X and 5

Decalare a new instance of the form you want to show and call Show()
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.