public AStyleOptionControl(string name, string description, string[] stringValues) : this(name, description) { type = AStyleOptionControlType.Selectable; comboBox.Visible = true; comboBox.Items.AddRange(stringValues); toolTip.SetToolTip(comboBox, description); }
public AStyleOptionControl(string name, string description, int minNumValue, int maxNumValue) : this(name, description) { type = AStyleOptionControlType.Numeric; numericUpDown.Visible = true; numericUpDown.Minimum = minNumValue; numericUpDown.Maximum = maxNumValue; toolTip.SetToolTip(numericUpDown, description); }
public AStyleOptionControl(string name, string description) { InitializeComponent(); type = AStyleOptionControlType.Simple; checkBox.Text = name; toolTip.SetToolTip(checkBox, description); }
public AStyleOptionControl(string name, string description, string[] stringValues, int minNumValue, int maxNumValue) : this(name, description, stringValues) { type = AStyleOptionControlType.SelectableAndNumeric; checkBox1.Visible = true; numericUpDown.Visible = true; numericUpDown.Minimum = minNumValue; numericUpDown.Maximum = maxNumValue; toolTip.SetToolTip(checkBox1, description); toolTip.SetToolTip(numericUpDown, description); }