protected override void OnGotFocus(EventArgs e) { isFocused = true; isHovered = true; Invalidate(); base.OnGotFocus(e); }