Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在让我的 Windows Phone 7 特定应用程序Reminder正常工作时遇到了一些问题 - 应用程序在开始显示启动画面后几分之一秒后重新关闭。
Reminder
为了调试这个,我想知道如何Reminder启动应用程序,触发哪些事件等等。
对于它可能值得 - 这是我发现的。
提醒重新启动应用程序,触发 App.xaml.cs 中的启动事件。也就是说 - 您需要重新加载使应用程序从独立存储或网络运行所需的任何内容
启动事件完成后,应用程序会直接进入请求的视图 - 跳过您可能为应用程序创建的任何加载页面。同样,请记住从独立存储中加载您需要的任何资源。
然后应用程序在 OnNavigatedTo 和 Loaded 关闭之前触发视图的构造函数。