NavigationService.Navigate–Duh!

image

Thanks to Ginny for the photograph. And for suggesting on Twitter that I might need some new jokes.

As if.

Anyhoo, this morning found me on the Windows Phone booth extoling the virtues of Windows Phone development. I told the happy tale of my PlayMusic application (22K downloads so far), the future with VoiceMusic and the dire tale of Procrastination Challenge. The game they dare not sell.

I was showing how easy it is to make programs and how you can navigate smoothly from one Windows Phone page to another. And then I completely forgot how to do it. Wah. Fortunately, after opening an existing project I managed to find the line.

NavigationService.Navigate(new Uri("/GameOverPage.xaml",
                                                   UriKind.RelativeOrAbsolute));

This takes you onto the GameOverPage. How one earth could I have forgotten that? Anyhoo, I finally got to the end and people were kind enough to clap, which was nice.

DSCF2374.jpg

Thanks to a great bunch of folks who were good enough to sit and listen. Larry was kind enough to video the session. With a bit of luck nobody will ever see it.

If you want to find out the awful truth behind “Procrastination Challenge”, I’m doing some more sessions on the Windows Phone Booth later in the week. Drop by to find out when. We’re in Hall D.

Tomorrow I’m doing my first session, Secrets of using Agents on Windows Phone tomorrow afternoon at 5:00pm in Room 383, followed by a session at 6:30 on Ask the Experts.