Beispiel #1
0
        //Install Step
        private bool ProcessCurrentStep()
        {
            if (CurrentInstallStep != null)
            {
                if (CurrentInstallStep._requireSelection && CurrentInstallStep.StepType == InstallStep.StepTypes.OptionsMultiSelect)
                {
                    if (CurrentInstallStep.GetSelectedOptions().Count == 0)
                    {
                        MessageBox.Show("Please select atleast 1 option before continuing.", "Selection Required", MessageBoxButton.OK, MessageBoxImage.Warning);
                        return(false);
                    }
                }
            }

            return(true);
        }
Beispiel #2
0
 private void SetBrushesForCurrentInstallStep()
 {
     ChangeBackgroundBrush(CurrentInstallStep.GetBackgroundBrush());
     ChangeTextBrush(CurrentInstallStep.GetTextBrush());
 }