开发者

How do I change the startup page on a WP7 Silverlight app?

I have added a new XAML page to my WP7 app and I need the application to startup on this ne开发者_开发技巧w page. How do I do that ?

I cannot find MainPage (which is the current / default start page) referenced anywhere in App.xaml or App.xaml.cs.


In WMAppManifest.xml you'll find the following.

<Tasks>
  <DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>

Change as appropriate.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜