/// <summary> /// Gets the UI Controls for this fabricator. /// </summary> /// <returns>Array of controls that make up the steps to feed the fabricator data.</returns> public override Control[] GetControls() { if (null == this.controls) { this.step1 = new ClickThrough.BrowsePathStep(); this.step1.Fabricator = this.fabricator; this.step1.Changed += this.StepProperty_Changed; this.step2 = new ClickThrough.PickEntryStep(); this.step2.Fabricator = this.fabricator; this.step2.Changed += this.StepProperty_Changed; this.step3 = new ClickThrough.PackageInfoStep(); this.step3.Fabricator = this.fabricator; this.step3.Changed += this.StepProperty_Changed; this.step4 = new ClickThrough.FeedStep(); this.step4.Fabricator = this.fabricator; this.step4.Changed += this.StepProperty_Changed; this.step5 = new ClickThrough.UpdateInfoStep(); this.step5.Fabricator = this.fabricator; this.step5.Changed += this.StepProperty_Changed; this.step6 = new ClickThrough.BuildStep(); this.step6.Fabricator = this.fabricator; this.controls = new Control[] { this.step1, this.step2, this.step3, this.step4, this.step5, this.step6 }; } return this.controls; }
/// <summary> /// Gets the UI Controls for this fabricator. /// </summary> /// <returns>Array of controls that make up the steps to feed the fabricator data.</returns> public override Control[] GetControls() { if (null == this.controls) { this.step1 = new ClickThrough.BrowsePathStep(); this.step1.Fabricator = this.fabricator; this.step1.Changed += this.StepProperty_Changed; this.step2 = new ClickThrough.PickEntryStep(); this.step2.Fabricator = this.fabricator; this.step2.Changed += this.StepProperty_Changed; this.step3 = new ClickThrough.PackageInfoStep(); this.step3.Fabricator = this.fabricator; this.step3.Changed += this.StepProperty_Changed; this.step4 = new ClickThrough.FeedStep(); this.step4.Fabricator = this.fabricator; this.step4.Changed += this.StepProperty_Changed; this.step5 = new ClickThrough.UpdateInfoStep(); this.step5.Fabricator = this.fabricator; this.step5.Changed += this.StepProperty_Changed; this.step6 = new ClickThrough.BuildStep(); this.step6.Fabricator = this.fabricator; this.controls = new Control[] { this.step1, this.step2, this.step3, this.step4, this.step5, this.step6 }; } return(this.controls); }