64 references to Instance
System.Windows.Forms (64)
System\Windows\Forms\Control.cs (3)
7520
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(toInvoke);
7681
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(toInvoke);
11397
KeyboardToolTipStateMachine.
Instance
.NotifyAboutMouseEnter(this);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
10826
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCellNew, KeyboardToolTip);
11029
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCell, KeyboardToolTip);
14575
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(CurrentCell);
15211
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(CurrentCell);
15858
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(CurrentCell);
17124
KeyboardToolTipStateMachine.
Instance
.Unhook(dataGridViewRow.Cells[columnIndex], KeyboardToolTip);
17252
KeyboardToolTipStateMachine.
Instance
.Unhook(cell, KeyboardToolTip);
22060
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
22064
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(dataGridViewCell);
27651
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
27733
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
28238
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)
3761
KeyboardToolTipStateMachine.
Instance
.Hook(listViewItem, KeyboardToolTip);
3764
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(listViewItem);
3772
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(listViewItem);
3778
KeyboardToolTipStateMachine.
Instance
.Unhook(listViewItem, KeyboardToolTip);
6338
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)
1628
KeyboardToolTipStateMachine.
Instance
.Hook(item, internalToolTip);
1632
KeyboardToolTipStateMachine.
Instance
.Unhook(item, internalToolTip);
4679
KeyboardToolTipStateMachine.
Instance
.Hook(item, ToolTip);
4685
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)
1251
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);
2483
KeyboardToolTipStateMachine.
Instance
.NotifyAboutMouseEnter(this);
2524
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
3150
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(this);
3535
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)
1981
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);