Example #1
0
        public StepButton AddStep(string description, Action action)
        {
            var step = new SingleStepButton
            {
                Text   = description,
                Action = action
            };

            AddStep(step);

            return(step);
        }
Example #2
0
        public StepButton AddStep(string description, Action action)
        {
            var step = new SingleStepButton
            {
                Text   = description,
                Action = action
            };

            Schedule(() => StepsContainer.Add(step));

            return(step);
        }
Example #3
0
        public StepButton AddStep(string description, Action action)
        {
            if (addStepsAsSetupSteps)
            {
                return(AddSetupStep(description, action));
            }

            var step = new SingleStepButton
            {
                Text   = description,
                Action = action
            };

            AddStep(step);

            return(step);
        }