protected override void OnActivate(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e) { EnableAnalytics(true); EnableConnections(true); base.OnActivate(sender, e); }
private void App_Activated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e) { if (!e.IsApplicationInstancePreserved) { ApplicationUsageHelper.OnApplicationActivated(); } }
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(); } }
private void PhoneApplicationService_Activated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e) { if (!e.IsApplicationInstancePreserved) { TombstoneData data = TombstoneManager.Load(); if (data != null) { TinderSession.FromTombstoneData(data); } } }
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); }
// 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) { }
public override void OnResume(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e) { this.getConnectionInfo(""); }