How to detect if my application is exiting so I can save state?
Answer / diana
You can listen to Application.Exit, but this might be too late most of the time. You should listen for the Pause event and save your state there.
| Is This Answer Correct ? | 0 Yes | 0 No |
On april ctp refresh, splashscreen appears for 3 seconds and disappears (even if my page is not fully loaded)?
Why did my phone go into safe mode?
Suppose when I deployed my xna app to the xde, the orientation is in portrait mode, but when I deploy it to a device, it's in landscape mode.?
Is it temporary that the control styles are included in app.xaml?
How to customize front page?
Suppose I am hitting System.InvalidOperationException in the Navigate method of the WebBrowserControl. What gives?
How to detect if my application is exiting so I can save state?
Explain how to detect if my application is exiting so I can save state?
What is windows phone media support?
Tell me about Windows Phone User interface?
Is securestring supported in windows phone?
How to pin an app on the emulator?