public ParameterCollectionEditorForm(IServiceProvider serviceProvider, ParameterCollection parameters, ControlDesigner designer) : base(serviceProvider)
        {
            this._parameters = parameters;
            if (designer != null)
            {
                this._control = designer.Component as System.Web.UI.Control;
            }
            this.InitializeComponent();
            this.InitializeUI();
            ArrayList list = new ArrayList();

            foreach (ICloneable cloneable in parameters)
            {
                object clone = cloneable.Clone();
                if (designer != null)
                {
                    designer.RegisterClone(cloneable, clone);
                }
                list.Add(clone);
            }
            this._parameterEditorUserControl.AddParameters((Parameter[])list.ToArray(typeof(Parameter)));
        }