64 references to Instance
System.Windows.Forms (64)
System\Windows\Forms\Control.cs (3)
7525
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(toInvoke);
7686
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(toInvoke);
11410
KeyboardToolTipStateMachine.
Instance
.NotifyAboutMouseEnter(this);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
10824
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCellNew, KeyboardToolTip);
11026
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCell, KeyboardToolTip);
14561
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(CurrentCell);
15196
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(CurrentCell);
15839
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(CurrentCell);
17105
KeyboardToolTipStateMachine.
Instance
.Unhook(dataGridViewRow.Cells[columnIndex], KeyboardToolTip);
17233
KeyboardToolTipStateMachine.
Instance
.Unhook(cell, KeyboardToolTip);
22045
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
22049
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(dataGridViewCell);
27632
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
27714
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
28219
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(CurrentCell);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
934
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCell, DataGridView.KeyboardToolTip);
2785
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
2809
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\ListView\ListView.cs (5)
3757
KeyboardToolTipStateMachine.
Instance
.Hook(listViewItem, KeyboardToolTip);
3760
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(listViewItem);
3768
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(listViewItem);
3774
KeyboardToolTipStateMachine.
Instance
.Unhook(listViewItem, KeyboardToolTip);
6334
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);
1450
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
1630
KeyboardToolTipStateMachine.
Instance
.Hook(item, internalToolTip);
1634
KeyboardToolTipStateMachine.
Instance
.Unhook(item, internalToolTip);
4683
KeyboardToolTipStateMachine.
Instance
.Hook(item, ToolTip);
4689
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)
1254
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)
822
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
2491
KeyboardToolTipStateMachine.
Instance
.NotifyAboutMouseEnter(this);
2532
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
3158
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(this);
3543
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (3)
167
IKeyboardToolTip? lastFocusedTool = KeyboardToolTipStateMachine.
Instance
.LastFocusedTool;
171
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(lastFocusedTool);
220
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(tool);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
756
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
1055
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1977
KeyboardToolTipStateMachine.
Instance
.Unhook(this, tv.KeyboardToolTip);
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (2)
316
KeyboardToolTipStateMachine.
Instance
.Hook(treeNode, tv.KeyboardToolTip);
452
KeyboardToolTipStateMachine.
Instance
.Hook(treeNode, tv.KeyboardToolTip);
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
1730
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(treeNode);
1738
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(treeNode);
3138
KeyboardToolTipStateMachine.
Instance
.Unhook(node, KeyboardToolTip);
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);
1778
KeyboardToolTipStateMachine.
Instance
.NotifyAboutFormDeactivation(this);