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