public TestStudioFormDesigner(TestStudioFormBuilder builder, bool advancedMode)
        {
            this.builder = builder;
            this.advancedMode = advancedMode;

            // Create the Form in the constructor so there can only be one form.
            builder.CreateForm();
            BuildForm();
            builder.GetForm().KeyUp += form_KeyUp;
        }
 public AdvancedParameterDisplayMethod()
 {
     this.formBuilder = TestStudioFormBuilder.Instance;
     this.formBuilder.ControlRemoved += formBuilder_ControlRemoved;
 }
 public MethodParameterDirector(TestStudioFormBuilder builder)
 {
     this.formBuilder = builder;
     this.formBuilder.ControlRemoved += formBuilder_ControlRemoved;
 }
 public MethodParameterDirector(IParametersDisplayMethod displayMethod)
 {
     this.formBuilder = TestStudioFormBuilder.Instance;
     this.displayMethod = displayMethod;
 }