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

            EnableConnections(false);
            EnableAnalytics(false);
        }
Beispiel #3
0
 // Code to execute when the application is closing (eg, user hit Back)
 // This code will not execute when the application is deactivated
 private void Application_Closing(object sender, Microsoft.Phone.Shell.ClosingEventArgs e)
 {
 }
Beispiel #4
0
 void Current_Closing(object sender, Microsoft.Phone.Shell.ClosingEventArgs e)
 {
     _applicationSettings.Save();
 }