Esempio n. 1
0
        protected override void OnActivate(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
        {
            EnableAnalytics(true);
            EnableConnections(true);

            base.OnActivate(sender, e);
        }
Esempio n. 2
0
 private void App_Activated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     if (!e.IsApplicationInstancePreserved)
     {
         ApplicationUsageHelper.OnApplicationActivated();
     }
 }
Esempio n. 3
0
File: Game.cs Progetto: pquinn/Apoc
 void GameActivated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     // Try to deserialize the screen manager
     if (!screenManager.Activate(e.IsApplicationInstancePreserved))
     {
         // If the screen manager fails to deserialize, add the initial screens
         AddInitialScreens();
     }
 }
Esempio n. 4
0
 private void PhoneApplicationService_Activated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     if (!e.IsApplicationInstancePreserved)
     {
         TombstoneData data = TombstoneManager.Load();
         if (data != null)
         {
             TinderSession.FromTombstoneData(data);
         }
     }
 }
Esempio n. 5
0
 public virtual void OnActivated(IsolatedStorageFileStream stream, object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
 }
        public override void OnResume(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
        {
            AttachHandlersToStores();

            base.OnResume(sender, e);
        }
Esempio n. 7
0
 // Code to execute when the application is activated (brought to foreground)
 // This code will not execute when the application is first launched
 private void Application_Activated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
 }
Esempio n. 8
0
 public override void OnResume(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     this.getConnectionInfo("");
 }