public InputDoubleTextForm(string caption, string description1, string defaultValue1, string description2, string defaultValue2) : this() { Text = caption; this.lblDescription.Text = description1; this.value1Field = new RcpaTextField(this.txtValue1, "", description1, defaultValue1, true); this.label1.Text = description2; this.value2Field = new RcpaTextField(this.txtValue2, "", description2, defaultValue2, true); }
public InputTextForm(string configFilename, string key, string caption, string description, string defaultValue, bool needSkipButton) : this() { this.configFileName = configFilename; Text = caption; this.lblDescription.Text = description; this.valueField = new RcpaTextField(this.txtValue, key, description, defaultValue, false); this.btnSkip.Visible = needSkipButton; LoadOption(); }