64 references to Instance
System.Windows.Forms (64)
System\Windows\Forms\Control.cs (3)
8316
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(toInvoke);
8474
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(toInvoke);
12333
KeyboardToolTipStateMachine.
Instance
.NotifyAboutMouseEnter(this);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
10879
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCellNew, KeyboardToolTip);
11082
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCell, KeyboardToolTip);
14628
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(CurrentCell);
15264
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(CurrentCell);
15917
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(CurrentCell);
17180
KeyboardToolTipStateMachine.
Instance
.Unhook(dataGridViewRow.Cells[columnIndex], KeyboardToolTip);
17308
KeyboardToolTipStateMachine.
Instance
.Unhook(cell, KeyboardToolTip);
22121
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
22125
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(dataGridViewCell);
27713
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
27795
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
28300
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(CurrentCell);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
926
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCell, DataGridView.KeyboardToolTip);
2786
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
2810
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\ListView\ListView.cs (5)
3770
KeyboardToolTipStateMachine.
Instance
.Hook(listViewItem, KeyboardToolTip);
3773
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(listViewItem);
3781
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(listViewItem);
3787
KeyboardToolTipStateMachine.
Instance
.Unhook(listViewItem, KeyboardToolTip);
6418
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)
1626
KeyboardToolTipStateMachine.
Instance
.Hook(item, internalToolTip);
1630
KeyboardToolTipStateMachine.
Instance
.Unhook(item, internalToolTip);
4727
KeyboardToolTipStateMachine.
Instance
.Hook(item, ToolTip);
4733
KeyboardToolTipStateMachine.
Instance
.Unhook(item, ToolTip);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
891
KeyboardToolTipStateMachine.
Instance
.Hook(ControlInternal, toolTip);
898
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);
361
KeyboardToolTipStateMachine.
Instance
.Unhook(_dropDown, _hookedKeyboardTooltip);
581
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
599
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
630
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
748
KeyboardToolTipStateMachine.
Instance
.Hook(_dropDown, toolTip);
758
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);
3146
KeyboardToolTipStateMachine.
Instance
.Unhook(node, KeyboardToolTip);
System\Windows\Forms\ToolTip\ToolTip.cs (5)
640
KeyboardToolTipStateMachine.
Instance
.Hook(control, this);
648
KeyboardToolTipStateMachine.
Instance
.Unhook(control, this);
1162
KeyboardToolTipStateMachine.
Instance
.Unhook(control, toolTip: this);
1171
KeyboardToolTipStateMachine.
Instance
.ResetStateMachine(this);
1779
KeyboardToolTipStateMachine.
Instance
.NotifyAboutFormDeactivation(this);