5 writes to _currentTool
System.Windows.Forms (5)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (5)
171
_currentTool
= null;
186
_currentTool
= tool;
223
_currentTool
= tool;
294
_currentTool
= null;
308
_currentTool
= null;
21 references to _currentTool
System.Windows.Forms (21)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (21)
112
if (
_currentTool
is null)
124
if (
_currentTool
== sender)
160
if (
_currentTool
is not null)
162
toolTip.HideToolTip(
_currentTool
);
201
if (
_currentTool
is null)
206
if (!
_currentTool
.IsHoveredWithMouse())
208
toolTip.ShowKeyboardToolTip(toolTipText,
_currentTool
, autoPopDelay);
215
GetOneRunTickHandler((Timer sender) => Transit(SmEvent.DismissTooltips,
_currentTool
)));
226
GetOneRunTickHandler((Timer sender) => Transit(SmEvent.InitialDelayTimerExpired,
_currentTool
)));
256
if ((
_currentTool
is null ||
_currentTool
.CanShowToolTipsNow()) && toolTip is not null)
283
if (_currentState != SmState.Shown ||
_currentTool
is null)
288
ToolTip? currentToolTip = _toolToTip[
_currentTool
];
293
currentToolTip.HideToolTip(
_currentTool
);
301
if (_currentState == SmState.Shown &&
_currentTool
is not null)
303
ToolTip? currentToolTip = _toolToTip[
_currentTool
];
304
currentToolTip?.HideToolTip(
_currentTool
);
320
if (toolTipToReset is null || (
_currentTool
is not null && _toolToTip[
_currentTool
] == toolTipToReset))
340
if (
_currentTool
is not null && _toolToTip[
_currentTool
] == sender)