5 writes to _currentTool
System.Windows.Forms (5)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (5)
172
_currentTool
= null;
187
_currentTool
= tool;
224
_currentTool
= tool;
301
_currentTool
= null;
315
_currentTool
= null;
21 references to _currentTool
System.Windows.Forms (21)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (21)
113
if (
_currentTool
is null)
125
if (
_currentTool
== sender)
161
if (
_currentTool
is not null)
163
toolTip.HideToolTip(
_currentTool
);
202
if (
_currentTool
is null)
207
if (!
_currentTool
.IsHoveredWithMouse())
209
toolTip.ShowKeyboardToolTip(toolTipText,
_currentTool
, autoPopDelay);
216
GetOneRunTickHandler((Timer sender) => Transit(SmEvent.DismissTooltips,
_currentTool
)));
227
GetOneRunTickHandler((Timer sender) => Transit(SmEvent.InitialDelayTimerExpired,
_currentTool
)));
263
if ((
_currentTool
is null ||
_currentTool
.CanShowToolTipsNow()) && toolTip is not null)
290
if (_currentState != SmState.Shown ||
_currentTool
is null)
295
ToolTip? currentToolTip = _toolToTip[
_currentTool
];
300
currentToolTip.HideToolTip(
_currentTool
);
308
if (_currentState == SmState.Shown &&
_currentTool
is not null)
310
ToolTip? currentToolTip = _toolToTip[
_currentTool
];
311
currentToolTip?.HideToolTip(
_currentTool
);
327
if (toolTipToReset is null || (
_currentTool
is not null && _toolToTip[
_currentTool
] == toolTipToReset))
347
if (
_currentTool
is not null && _toolToTip[
_currentTool
] == sender)