public override void GotFocus(Control c) { _hasFocus = true; // Update the visual state UpdateTargetState(c); }