1 instantiation of KeyboardToolTipStateMachine
System.Windows.Forms (1)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (1)
33
s_instance ??= new
KeyboardToolTipStateMachine
();
68 references to KeyboardToolTipStateMachine
System.Windows.Forms (68)
System\Windows\Forms\Control.cs (4)
7650
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(toInvoke);
7745
KeyboardToolTipStateMachine
.HidePersistentTooltip();
7808
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(toInvoke);
11546
KeyboardToolTipStateMachine
.Instance.NotifyAboutMouseEnter(this);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
10820
KeyboardToolTipStateMachine
.Instance.Hook(dataGridViewCellNew, KeyboardToolTip);
11023
KeyboardToolTipStateMachine
.Instance.Hook(dataGridViewCell, KeyboardToolTip);
14569
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(CurrentCell);
15205
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(CurrentCell);
15852
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(CurrentCell);
17115
KeyboardToolTipStateMachine
.Instance.Unhook(dataGridViewRow.Cells[columnIndex], KeyboardToolTip);
17243
KeyboardToolTipStateMachine
.Instance.Unhook(cell, KeyboardToolTip);
22048
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(dataGridViewCell);
22052
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(dataGridViewCell);
27640
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(dataGridViewCell);
27722
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(dataGridViewCell);
28227
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(CurrentCell);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
926
KeyboardToolTipStateMachine
.Instance.Hook(dataGridViewCell, DataGridView.KeyboardToolTip);
2774
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
2798
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\ListView\ListView.cs (5)
3768
KeyboardToolTipStateMachine
.Instance.Hook(listViewItem, KeyboardToolTip);
3771
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(listViewItem);
3779
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(listViewItem);
3785
KeyboardToolTipStateMachine
.Instance.Unhook(listViewItem, KeyboardToolTip);
6401
KeyboardToolTipStateMachine
.Instance.Unhook(listViewItem, KeyboardToolTip);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
1009
KeyboardToolTipStateMachine
.Instance.Hook(this, _listView!.KeyboardToolTip);
1171
KeyboardToolTipStateMachine
.Instance.Unhook(this, _listView.KeyboardToolTip);
System\Windows\Forms\Controls\TabControl\TabControl.cs (3)
1200
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(selectedTab);
1204
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(selectedTab);
1464
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
1621
KeyboardToolTipStateMachine
.Instance.Hook(item, internalToolTip);
1625
KeyboardToolTipStateMachine
.Instance.Unhook(item, internalToolTip);
4707
KeyboardToolTipStateMachine
.Instance.Hook(item, ToolTip);
4713
KeyboardToolTipStateMachine
.Instance.Unhook(item, ToolTip);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
877
KeyboardToolTipStateMachine
.Instance.Hook(ControlInternal, toolTip);
884
KeyboardToolTipStateMachine
.Instance.Unhook(ControlInternal, toolTip);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1248
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(itemOnPreviousMenuToSelect);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (8)
89
KeyboardToolTipStateMachine
.Instance.Unhook(_dropDown, _hookedKeyboardTooltip);
103
KeyboardToolTipStateMachine
.Instance.Hook(_dropDown, _hookedKeyboardTooltip);
359
KeyboardToolTipStateMachine
.Instance.Unhook(_dropDown, _hookedKeyboardTooltip);
579
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
597
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
628
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
746
KeyboardToolTipStateMachine
.Instance.Hook(_dropDown, toolTip);
756
KeyboardToolTipStateMachine
.Instance.Unhook(_dropDown, toolTip);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (5)
827
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
2490
KeyboardToolTipStateMachine
.Instance.NotifyAboutMouseEnter(this);
2531
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
3159
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(this);
3536
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (3)
159
IKeyboardToolTip? lastFocusedTool =
KeyboardToolTipStateMachine
.Instance.LastFocusedTool;
163
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(lastFocusedTool);
206
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(tool);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
756
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
1052
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1978
KeyboardToolTipStateMachine
.Instance.Unhook(this, tv.KeyboardToolTip);
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (2)
315
KeyboardToolTipStateMachine
.Instance.Hook(treeNode, tv.KeyboardToolTip);
451
KeyboardToolTipStateMachine
.Instance.Hook(treeNode, tv.KeyboardToolTip);
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
1728
KeyboardToolTipStateMachine
.Instance.NotifyAboutGotFocus(treeNode);
1736
KeyboardToolTipStateMachine
.Instance.NotifyAboutLostFocus(treeNode);
3125
KeyboardToolTipStateMachine
.Instance.Unhook(node, KeyboardToolTip);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1018
KeyboardToolTipStateMachine
.Reset();
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (2)
29
public static
KeyboardToolTipStateMachine
Instance
40
private static
KeyboardToolTipStateMachine
? s_instance;
System\Windows\Forms\ToolTip\ToolTip.cs (5)
640
KeyboardToolTipStateMachine
.Instance.Hook(control, this);
648
KeyboardToolTipStateMachine
.Instance.Unhook(control, this);
1158
KeyboardToolTipStateMachine
.Instance.Unhook(control, toolTip: this);
1167
KeyboardToolTipStateMachine
.Instance.ResetStateMachine(this);
1775
KeyboardToolTipStateMachine
.Instance.NotifyAboutFormDeactivation(this);