예제 #1
0
        private void MoveToNextStepAfterSuccesfulSave(SaveResult saveResult)
        {
            if (saveResult != SaveResult.Success)
            {
                return;
            }

            WizardStepProgressService.SetStepProgressCompleted(WizardContext, ActiveStep);
            var nextWizardStep = WizardStepsService.GetNextStep(ActiveStep);

            WizardNavigator.OpenView(nextWizardStep.ViewTargetName, WizardContext);
        }
예제 #2
0
 private void CheckIfStepIsEnabled()
 {
     IsEnabled = WizardStepProgressService.IsStepEnabled(MenuItemContext, wizardStep);
 }