1 write to RelatedObject
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionListsChangedEventArgs.cs (1)
26
RelatedObject
= relatedObject;
11 references to RelatedObject
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionUI.cs (5)
429
if (e.
RelatedObject
is not IComponent relatedComponent)
436
if (primSel == e.
RelatedObject
)
445
RemoveActionGlyph(e.
RelatedObject
);
453
RemoveActionGlyph(e.
RelatedObject
);
458
RecreatePanel(e.
RelatedObject
as IComponent);
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\DesignerActionListsChangedEventArgsTests.cs (1)
19
Assert.Same(relatedObject, e.
RelatedObject
);
System\ComponentModel\Design\DesignerActionServiceTests.cs (5)
205
Assert.True(e.
RelatedObject
== component1 || e.
RelatedObject
== component2);
690
Assert.Same(component1, e.
RelatedObject
);
872
Assert.Same(component1, e.
RelatedObject
);
1002
Assert.Same(component1, e.
RelatedObject
);