Beispiel #1
0
 private void PhoneApplicationService_Deactivated(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e)
 {
     if (TinderSession.CurrentSession.IsAuthenticated)
     {
         TombstoneManager.Save(TinderSession.CurrentSession.ToTombstoneData());
     }
 }
Beispiel #2
0
        protected override void OnDeactivate(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e)
        {
            base.OnDeactivate(sender, e);

            EnableConnections(false);
            EnableAnalytics(false);
        }
Beispiel #3
0
 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();
        }
Beispiel #5
0
 // 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)
 {
 }
Beispiel #6
0
 void Current_Deactivated(object sender, Microsoft.Phone.Shell.DeactivatedEventArgs e)
 {
     _applicationSettings.Save();
 }