开发者

WP7 main page loads twice

Anyone have an idea what would cause my MainPage to load twice in WP7?

I looked at whats in the callstack both times in 开发者_StackOverflowthe MainPage constructor and I don't see any difference. Also the OnNavigateTo() event fires twice, but the OnNavigatingFrom() never fires.


In my App.xml I had this

< !--RootFrame points to and loads the first page of your application-->
< Application.RootVisual>
< phone:PhoneApplicationFrame x:Name="RootFrame" />
< /Application.RootVisual>

When I removed it everything worked as it should

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜