64 references to Instance
System.Windows.Forms (64)
System\Windows\Forms\Control.cs (3)
7559
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(toInvoke);
7720
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(toInvoke);
11436
KeyboardToolTipStateMachine.
Instance
.NotifyAboutMouseEnter(this);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
10825
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCellNew, KeyboardToolTip);
11028
KeyboardToolTipStateMachine.
Instance
.Hook(dataGridViewCell, KeyboardToolTip);
14574
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(CurrentCell);
15210
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(CurrentCell);
15857
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(CurrentCell);
17123
KeyboardToolTipStateMachine.
Instance
.Unhook(dataGridViewRow.Cells[columnIndex], KeyboardToolTip);
17251
KeyboardToolTipStateMachine.
Instance
.Unhook(cell, KeyboardToolTip);
22059
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
22063
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(dataGridViewCell);
27650
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
27732
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(dataGridViewCell);
28237
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)
1627
KeyboardToolTipStateMachine.
Instance
.Hook(item, internalToolTip);
1631
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);
3152
KeyboardToolTipStateMachine.
Instance
.NotifyAboutGotFocus(this);
3537
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (3)
165
IKeyboardToolTip? lastFocusedTool = KeyboardToolTipStateMachine.
Instance
.LastFocusedTool;
169
KeyboardToolTipStateMachine.
Instance
.NotifyAboutLostFocus(lastFocusedTool);
218
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)
315
KeyboardToolTipStateMachine.
Instance
.Hook(treeNode, tv.KeyboardToolTip);
451
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);