예제 #1
0
 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);
 }
예제 #2
0
 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();
     }
 }
예제 #3
0
 public CheckBoxComboBoxItemList(CheckBoxComboBox checkBoxComboBox)
 {
     this._CheckBoxComboBox = checkBoxComboBox;
 }