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)
112if (_currentTool is null) 124if (_currentTool == sender) 160if (_currentTool is not null) 162toolTip.HideToolTip(_currentTool); 201if (_currentTool is null) 206if (!_currentTool.IsHoveredWithMouse()) 208toolTip.ShowKeyboardToolTip(toolTipText, _currentTool, autoPopDelay); 215GetOneRunTickHandler((Timer sender) => Transit(SmEvent.DismissTooltips, _currentTool))); 226GetOneRunTickHandler((Timer sender) => Transit(SmEvent.InitialDelayTimerExpired, _currentTool))); 256if ((_currentTool is null || _currentTool.CanShowToolTipsNow()) && toolTip is not null) 283if (_currentState != SmState.Shown || _currentTool is null) 288ToolTip? currentToolTip = _toolToTip[_currentTool]; 293currentToolTip.HideToolTip(_currentTool); 301if (_currentState == SmState.Shown && _currentTool is not null) 303ToolTip? currentToolTip = _toolToTip[_currentTool]; 304currentToolTip?.HideToolTip(_currentTool); 320if (toolTipToReset is null || (_currentTool is not null && _toolToTip[_currentTool] == toolTipToReset)) 340if (_currentTool is not null && _toolToTip[_currentTool] == sender)