3 instantiations of ToolStripKeyboardHandlingService
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
425
_keyboardHandlingService ??= new
ToolStripKeyboardHandlingService
(Component.Site);
1445
new
ToolStripKeyboardHandlingService
(Component.Site);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
354
keyboardHandlingService ??= new
ToolStripKeyboardHandlingService
(component.Site);
38 references to ToolStripKeyboardHandlingService
System.Windows.Forms.Design (38)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2196
bool handled = GetService<
ToolStripKeyboardHandlingService
>()?.OnContextMenu(location.X, location.Y) ?? false;
System\Windows\Forms\Design\ToolStripDesigner.cs (4)
56
private
ToolStripKeyboardHandlingService
_keyboardHandlingService;
417
private
ToolStripKeyboardHandlingService
KeyboardHandlingService
424
_keyboardHandlingService = GetService<
ToolStripKeyboardHandlingService
>();
1443
if (GetService<
ToolStripKeyboardHandlingService
>() is null)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (5)
353
ToolStripKeyboardHandlingService
keyboardHandlingService = (
ToolStripKeyboardHandlingService
)GetService(typeof(
ToolStripKeyboardHandlingService
));
430
if (TryGetService(out
ToolStripKeyboardHandlingService
keyboardHandlingService))
705
GetService<
ToolStripKeyboardHandlingService
>().SelectedDesignerControl = selectedItem;
System\Windows\Forms\Design\ToolStripInSituService.cs (4)
22
private
ToolStripKeyboardHandlingService
_toolStripKeyBoardService;
67
private
ToolStripKeyboardHandlingService
ToolStripKeyBoardService
71
_toolStripKeyBoardService ??= (
ToolStripKeyboardHandlingService
)_sp.GetService(typeof(
ToolStripKeyboardHandlingService
));
System\Windows\Forms\Design\ToolStripItemBehavior.cs (8)
67
ToolStripKeyboardHandlingService
keyService = GetKeyBoardHandlingService(item);
139
private static
ToolStripKeyboardHandlingService
GetKeyBoardHandlingService(ToolStripItem item)
144
ToolStripKeyboardHandlingService
keyBoardSvc = (
ToolStripKeyboardHandlingService
)item.Site.GetService(typeof(
ToolStripKeyboardHandlingService
));
283
ToolStripKeyboardHandlingService
keyService = GetKeyBoardHandlingService(glyphItem);
703
ToolStripKeyboardHandlingService
keyboardHandlingService = GetKeyBoardHandlingService(selectedItem);
906
ToolStripKeyboardHandlingService
keyService = GetKeyBoardHandlingService(item);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
1130
if (TryGetService(out
ToolStripKeyboardHandlingService
keyboardHandlingService))
1307
if (!TryGetService(out
ToolStripKeyboardHandlingService
keyboardService))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
468
ToolStripKeyboardHandlingService
keyboardHandlingService = (
ToolStripKeyboardHandlingService
)_provider.GetService(typeof(
ToolStripKeyboardHandlingService
));
475
_designerHost.RemoveService<
ToolStripKeyboardHandlingService
>();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (6)
35
private
ToolStripKeyboardHandlingService
_keyboardHandlingService;
315
private
ToolStripKeyboardHandlingService
KeyboardHandlingService
316
=> _keyboardHandlingService ??= GetService<
ToolStripKeyboardHandlingService
>();
2730
ToolStripKeyboardHandlingService
keyboardHandlingService = (
ToolStripKeyboardHandlingService
)primaryItem.Site.GetService(typeof(
ToolStripKeyboardHandlingService
));
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
87
private
ToolStripKeyboardHandlingService
_toolStripKeyBoardService;
341
private
ToolStripKeyboardHandlingService
KeyboardService
345
_toolStripKeyBoardService ??= (
ToolStripKeyboardHandlingService
)_component.Site.GetService(typeof(
ToolStripKeyboardHandlingService
));