How to detect if my application is exiting so I can save state?
Answer Posted / 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 |
Post New Answer View All Answers
where is the best recommended place to store both static and user-specified configuration information?
Explain how to access the liveid credentials a user has entered into the device?
explain the best way to detect that I am in design-mode in expression blend or visual studio?
Can you please explain the best way to detect that I am in design-mode in expression blend or visual studio?
Suppose I have lost one of the application templates in visual studio 2010. It's available in the file system but not in visual studio... Any ideas?
Can I open sockets in windows phone?
How to deserialize json from a rest call?
How do you know you have a virus on your phone?
Is asp.net forms authentication supported?
Tell me is it possible to use custom pixel shader in xna?
Can we control the web browser controls zoom?
Explain how to pin an app on the emulator?
What are the supported codecs for video?
Suppose I am trying to receive toast notifications in emulator app. I got everything setup but notification does not show up in emulator at all?
Are there apis to read rss/atom feeds?