Bind() публичный Метод

Binds the vector to edit/create to this form.
public Bind ( IEditable editedObject ) : void
editedObject IEditable The sequence of dates to edit/create.
Результат void
        /// <summary>
        /// Executes the form for creating the ModelParameterArray with the array of dates.
        /// </summary>
        public void Execute()
        {
            if (this.datesVector != null)
            {
                DateSequenceForm f             = new DateSequenceForm();
                List <object>    parameterList = new List <object>();
                parameterList.Add(Document.ActiveDocument.Part.ElementAt(0));
                parameterList.Add(true);

                f.Bind(this.datesVector);
                f.BindInfo(parameterList);
                f.ShowDialog();
            }
        }
        /// <summary>
        /// Executes the form for creating the ModelParameterArray with the array of dates.
        /// </summary>
        public void Execute()
        {
            if (this.datesVector != null)
            {
                DateSequenceForm f = new DateSequenceForm();
                List<object> parameterList = new List<object>();
                parameterList.Add(Document.ActiveDocument.Part.ElementAt(0));
                parameterList.Add(true);

                f.Bind(this.datesVector);
                f.BindInfo(parameterList);
                f.ShowDialog();
            }
        }