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