public StepButton AddStep(string description, Action action) { var step = new SingleStepButton { Text = description, Action = action }; AddStep(step); return(step); }
public StepButton AddStep(string description, Action action) { var step = new SingleStepButton { Text = description, Action = action }; Schedule(() => StepsContainer.Add(step)); return(step); }
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); }