public MultiselectComboBoxListControl(MultiselectComboBox owner) { DoubleBuffered = true; _CheckBoxComboBox = owner; BackColor = SystemColors.Window; AutoScroll = true; base.ResizeRedraw = true; MinimumSize = new Size(1, 1); MaximumSize = new Size(500, 500); }
public MultiselectComboBoxItem(MultiselectComboBox owner, object comboBoxItem) { DoubleBuffered = true; _CheckBoxComboBox = owner; _ComboBoxItem = comboBoxItem; base.CornerRadius = 0; if (_CheckBoxComboBox.DataSource != null) { AddBindings(); } else { Text = comboBoxItem.ToString(); } }