1 implementation of IEventHandlerService
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\EventHandlerService.cs (1)
9
public sealed class EventHandlerService :
IEventHandlerService
35 references to IEventHandlerService
System.Windows.Forms.Design (35)
System\Windows\Forms\Design\CommandSet.CommandSetItem.cs (1)
22
private readonly
IEventHandlerService
_eventService;
System\Windows\Forms\Design\CommandSet.cs (2)
29
private
IEventHandlerService
_eventService;
63
_eventService = site.GetRequiredService<
IEventHandlerService
>();
System\Windows\Forms\Design\ComponentTray.cs (3)
43
private
IEventHandlerService
_eventHandlerService; // Event Handler service to handle keyboard and focus.
90
if (GetService(typeof(
IEventHandlerService
)) is null)
865
host.RemoveService<
IEventHandlerService
>();
System\Windows\Forms\Design\ControlDesigner.cs (2)
40
private
IEventHandlerService
? _eventService;
1768
_eventService ??= GetService<
IEventHandlerService
>();
System\Windows\Forms\Design\DocumentDesigner.cs (3)
489
host.RemoveService<
IEventHandlerService
>();
695
host.AddService<
IEventHandlerService
>(callback);
1024
if (serviceType == typeof(
IEventHandlerService
))
System\Windows\Forms\Design\ParentControlDesigner.cs (6)
1738
IEventHandlerService
eventSvc = (
IEventHandlerService
)GetService(typeof(
IEventHandlerService
));
1813
IEventHandlerService
eventSvc = (
IEventHandlerService
)GetService(typeof(
IEventHandlerService
));
System\Windows\Forms\Design\TabControlDesigner.cs (3)
313
IEventHandlerService
eventSvc = (
IEventHandlerService
)GetService(typeof(
IEventHandlerService
));
System\Windows\Forms\Design\TabOrder.cs (6)
123
IEventHandlerService
? ehs = (
IEventHandlerService
?)host.GetService(typeof(
IEventHandlerService
));
155
IEventHandlerService
? ehs = (
IEventHandlerService
?)_host.GetService(typeof(
IEventHandlerService
));
System\Windows\Forms\Design\ToolStripItemBehavior.cs (3)
30
private
IEventHandlerService
_eventSvc;
178
_eventSvc ??= (
IEventHandlerService
)item.Site.GetService(typeof(
IEventHandlerService
));
System\Windows\Forms\Design\ToolStripTemplateNode.cs (6)
201
IEventHandlerService
ehs = (
IEventHandlerService
)_component.Site.GetService(typeof(
IEventHandlerService
));
232
IEventHandlerService
ehs = (
IEventHandlerService
)_component.Site.GetService(typeof(
IEventHandlerService
));