Example #1
0
 protected override void ExecuteWelcomeAction()
 {
     if (_welcomeSettingsHelper.IsFirstRun())
     {
         _welcomeSettingsHelper.SetCurrentApplicationVersionAsWelcomeVersionInRegistry();
         _interactionInvoker.Invoke(new WelcomeInteraction());
     }
 }
        public void MainShellStartupAction(StartupRoutine startupRoutine)
        {
            SetupActivePathInMainShell(startupRoutine);
            foreach (var startupNavigationAction in startupRoutine.GetActionByType <StartupNavigationAction>())
            {
                _regionManager.RequestNavigate(startupNavigationAction.Region, startupNavigationAction.Target);
            }

            if (_welcomeSettingsHelper.IsFirstRun())
            {
                _dispatcher.InvokeAsync(ShowWelcomeWindow);
            }
        }
        protected override void ExecuteWelcomeAction()
        {
            if (_welcomeSettingsHelper.IsFirstRun())
            {
                _welcomeSettingsHelper.SetCurrentApplicationVersionAsWelcomeVersionInRegistry();
                _interactionInvoker.Invoke(new WelcomeInteraction());
            }
            else
            {
                if (!_plusHintHelper.QueryDisplayHint())
                {
                    return;
                }

                _interactionInvoker.InvokeNonBlocking(new PlusHintInteraction(_plusHintHelper.CurrentJobCounter));
            }
        }