/// <summary> /// Invoked when the application is launched normally by the end user. Other entry points /// will be used such as when the application is launched to open a specific file. /// </summary> /// <param name="e">Details about the launch request and process.</param> protected override void OnLaunched(LaunchActivatedEventArgs args) { AppHelper.ApplyThemeSettings(); AppHelper.SetUpVoiceCommends(); if (args.PreviousExecutionState != ApplicationExecutionState.Running) { var loadState = (args.PreviousExecutionState == ApplicationExecutionState.Terminated); var extendedSplash = new ExtendedSplash(args.SplashScreen, loadState); Window.Current.Content = extendedSplash; } Window.Current.Activate(); }