public void OnPaint(PaintEventArgs e, bool enabled, bool multiple) { ButtonState comboState = ButtonState.Normal; if (!enabled || this.ReadOnly) { comboState = ButtonState.Disabled; } else if (this.pressed || this.IsDropDownOpened || (this.focused && (Control.ModifierKeys & Keys.Control) == Keys.Control)) { comboState = ButtonState.Pressed; } else if (this.hovered || this.focused) { comboState = ButtonState.Hot; } ControlRenderer.DrawComboButton(e.Graphics, this.rect, comboState, this.selectedObjStr); }