1 implementation of ShowCode
System.Windows.Forms.Design (1)
System\ComponentModel\Design\EventBindingService.cs (1)
228
bool IEventBindingService.
ShowCode
(IComponent component, EventDescriptor e)
6 references to ShowCode
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
926
s_targetBindingService.
ShowCode
(s_targetComponent!, s_targetEventdesc!);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ComponentDesigner.cs (1)
356
ebs.
ShowCode
(Component, thisDefaultEvent);
System\Windows\Forms\Design\ComponentTray.cs (1)
2511
eps.
ShowCode
(component, defaultEvent);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ComponentDesignerTests.cs (3)
901
.Setup(s => s.
ShowCode
(component, It.IsAny<EventDescriptor>()))
960
mockEventBindingService.Verify(s => s.
ShowCode
(component, It.IsAny<EventDescriptor>()), Times.Exactly(expectedCallCount));
973
mockEventBindingService.Verify(s => s.
ShowCode
(component, It.IsAny<EventDescriptor>()), Times.Exactly(expectedCallCount * 2));