Beispiel #1
0
 private void Application_Launching(
     object sender, LaunchingEventArgs e)
 {
     AnalyticsTracker.Track(
         "start", "launch");
     ThemeData.Initialize();
 }
Beispiel #2
0
        private void Application_Activated(
            object sender, ActivatedEventArgs e)
        {
            AnalyticsTracker.Track(
                "start", "activated");

            if (e.IsApplicationInstancePreserved)
            {
                var global = GlobalPassHandler.Instance;
                global.Reset();

                if (global.ShouldPromptGlobalPass)
                {
                    var root = RootFrame;
                    root.Dispatcher.BeginInvoke(() =>
                                                root.Navigate(Navigation.GetPathTo
                                                              <GlobalPassVerify>()));
                }

                return;
            }

            ThemeData.Initialize();
            Cache.RestoreCache(RootFrame.Dispatcher);
        }
Beispiel #3
0
 private void Application_Launching(
     object sender, LaunchingEventArgs e)
 {
     ThemeData.Initialize();
 }