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|
Tell me what happened to TopLevelNavigationService, it is not there on April CTP Refresh?
Tell me is it possible to use custom pixel shader in xna?
How to dismiss the SIP programmatically?
Tell me can I open sockets in windows phone?
What happened to toplevelnavigationservice, it is not there on april ctp refresh?
Tell me can I turn article photos off?
In the emulator, networkinterface.getisnetworkavailable() always return false?
Explain about the windows phone?
Explain how to play two mediaelements at once?
Tell me where is httputility class, since there is no system.windows.browser namespace?
Can we control the web browser controls zoom?
Is it possible to run two instances of emulator on the same machine. I am doing some networking app and need two emulators to test it?