public CheckBoxComboBoxListControl(CheckBoxComboBox owner) { this.DoubleBuffered = true; this._CheckBoxComboBox = owner; this._Items = new CheckBoxComboBoxItemList(this._CheckBoxComboBox); this.BackColor = SystemColors.Window; this.AutoScroll = true; base.ResizeRedraw = true; this.MinimumSize = new Size(1, 1); this.MaximumSize = new Size(500, 500); }
public CheckBoxComboBoxItem(CheckBoxComboBox owner, object comboBoxItem) { this.DoubleBuffered = true; this._CheckBoxComboBox = owner; this._ComboBoxItem = comboBoxItem; if (this._CheckBoxComboBox.DataSource != null) { this.AddBindings(); } else { this.Text = comboBoxItem.ToString(); } }
public CheckBoxComboBoxItemList(CheckBoxComboBox checkBoxComboBox) { this._CheckBoxComboBox = checkBoxComboBox; }