Windows Phone 7后台导航问题 [英] windows phone 7 back page navigation problem

查看:83
本文介绍了Windows Phone 7后台导航问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我正在处理漫画,从一页导航到第二页没有问题,但是如果我选择通过超链接还是按返回按钮返回,则我的第一页仍然是我离开的地方它(没有音频,没有任何声音再次起作用).它没有重新加载?是什么问题...........这是代码blockquote>这是设计使然,可以按照您离开它的方式找回它.在您的情况下,您可以轻松地更新同一页面,因为无需创建另一个页面.您对应用程序的想法不适用于实现的默认行为.

附带说明,您只需更新问题即可添加代码,而不必将其添加为注释.同样在下一次,请尝试更具体地缩小范围,而不是转储代码负载.但是,由于您确实发布了所有代码,因此我也建议创建一种更通用的颜色更新方法,而不是此处应用的复制粘贴方法.您可以轻松地将颜色和文本存储为单独的数据,并将其加载到包含每个页面条目的数组中.这样一来,以后更新和扩展故事也就容易得多了;-)

祝你好运!


actually,i am working on a comic,after navigating to second page from 1 page has no problem,but if i choose to go back whether by hyperlink or by pressing the back button,my 1st page is still,where i left it(no audio again,nthing working again).its not reloading again?what is the problem...........here is the code

解决方案

This is by design, which is to find it back the way you left it. In your case you could easily just update the very same page because there is no need to create another. The idea you have for your application doesn''t apply to the default behavior implemented.

As a side note, you could have simply updated your question to add the code instead of adding it as a comment. Also for next time, try to narrow it down more specifically instead of dumping a load of code. But since you did post all the code, I would also advise to create a more generic method for updating the colors instead of the copy-paste method applied here. You can easily store the colors and text as separate data and load it into an array with entries for each page. That way it is also a lot easier to update and expand the story later on ;-)

Good luck!


这篇关于Windows Phone 7后台导航问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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