private void PhoneApplicationService_Deactivated(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e) { if (TinderSession.CurrentSession.IsAuthenticated) { TombstoneManager.Save(TinderSession.CurrentSession.ToTombstoneData()); } }
protected override void OnDeactivate(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e) { base.OnDeactivate(sender, e); EnableConnections(false); EnableAnalytics(false); }
void GameDeactivated(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e) { // Serialize the screen manager when the game deactivated screenManager.Deactivate(); }
public override void OnPause(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e) { DetachHandlersFromStores(); base.OnReset(); }
// Code to execute when the application is deactivated (sent to background) // This code will not execute when the application is closing private void Application_Deactivated(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e) { }
void Current_Deactivated(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e) { _applicationSettings.Save(); }