3 writes to _currentState
System.Windows.Forms (3)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (3)
258
_currentState
= Transition(source, toolTip, @event);
295
_currentState
= SmState.Hidden;
309
return
_currentState
= SmState.Hidden;
9 references to _currentState
System.Windows.Forms (9)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (9)
56
=> (
_currentState
, @event) switch
59
(SmState.Hidden, SmEvent.LeftTool) =>
_currentState
, // OK
60
(SmState.ReadyForInitShow, SmEvent.FocusedTool) =>
_currentState
, // unlikely: focus without leave
64
(SmState.Shown, SmEvent.FocusedTool) =>
_currentState
, // unlikely: focus without leave
69
(SmState.WaitForRefocus, SmEvent.LeftTool) =>
_currentState
, // OK
72
(SmState.ReadyForReshow, SmEvent.FocusedTool) =>
_currentState
, // unlikely: focus without leave
175
if (toolObject is not null &&
_currentState
== SmState.WaitForRefocus && _refocusDelayExpirationCallback == expirationCallback)
283
if (
_currentState
!= SmState.Shown || _currentTool is null)
301
if (
_currentState
== SmState.Shown && _currentTool is not null)