public WizardPipeline(string name, string title, StepInfo[] stepInfos, Type args, string startButtonText, string cancelButtonText, string finishText, FinishAction[] finishActions, FinishActionHive[] finishActionHives)
 {
   this.name = name;
   this.Title = title;
   this.FinishText = finishText;
   this.StartButtonText = startButtonText;
   this.CancelButtonText = cancelButtonText;
   this.Args = args;
   this.StepInfos = stepInfos;
   this.FinishActions = finishActions;
   this.FinishActionHives = finishActionHives;
 }
 public static void SetControlValue(StepInfo step, Type newValue)
 {
     var fld = typeof(StepInfo).GetField("Control", BindingFlags.Instance | BindingFlags.SetField | BindingFlags.Public);
       fld.SetValue(step, newValue);
 }