protected override void OnMouseLeave( EventArgs e) { _state &= ~ColorButtonState.Hot; base.OnMouseLeave(e); }
protected override void OnGotFocus(EventArgs e) { _state |= ColorButtonState.Selected; base.OnGotFocus(e); }
protected override void OnMouseEnter( EventArgs e) { _state |= ColorButtonState.Hot; base.OnMouseEnter(e); }