18 references to Components
System.Windows.Forms.Design.Tests (18)
System\Drawing\Design\ToolboxComponentsCreatedEventArgsTests.cs (7)
24
Assert.Null(e.
Components
);
28
Assert.Equal(components, e.
Components
);
29
Assert.NotSame(components, e.
Components
);
30
Assert.Equal(e.
Components
, e.
Components
);
31
Assert.NotSame(e.
Components
, e.
Components
);
System\Drawing\Design\ToolboxItemTests.cs (11)
382
Assert.IsType<Component>(Assert.Single(e.
Components
));
448
Assert.Same(component, Assert.Single(e.
Components
));
514
Assert.Same(component, Assert.Single(e.
Components
));
584
Assert.Same(component, Assert.Single(e.
Components
));
638
Assert.Null(e.
Components
);
687
Assert.Null(e.
Components
);
717
Assert.IsType<Component>(Assert.Single(e.
Components
));
767
Assert.Same(component, Assert.Single(e.
Components
));
833
Assert.Same(component, Assert.Single(e.
Components
));
903
Assert.Same(component, Assert.Single(e.
Components
));
952
Assert.Null(e.
Components
);