Reacting to Lifecycle Events
We have already discussed the application model and its attendant lifecycle. Refer to Figure 23.11. We have three possible application states:
Activated
Suspended
Not Running
At the application level, you are notified of app changes via a series of events that correspond to the arrows you see in Figure 23.11. Handling these events and reacting appropriately means you need to write some event handlers; your project’s ...
Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.