启动页面的问题 [英] problem of start up page

查看:50
本文介绍了启动页面的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在visual studio 2012中更改windows 8 metro应用程序的启动页面

how to change start up page of windows 8 metro application in visual studio 2012

推荐答案

App.xaml.cs具有Onlaunched事件,其中定义了初始起始页。

默认情况下,包含MainPage。将MainPage更改为您选择的页面。

The App.xaml.cs has the Onlaunched event where the initial start page is defined .
By Default , the "MainPage" is included .Change the MainPage to page of your choice.
var rootFrame = new Frame();
rootFrame.Navigate(typeof(MainPage));

To rootFrame.Navigate(typeof(YourPage));





希望这有助于......



Hope this helps...


这篇关于启动页面的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆