/// <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(); } }