18 references to Components
System.Windows.Forms.Design.Tests (18)
System\Drawing\Design\ToolboxComponentsCreatedEventArgsTests.cs (7)
26Assert.Null(e.Components); 30Assert.Equal(components, e.Components); 31Assert.NotSame(components, e.Components); 32Assert.Equal(e.Components, e.Components); 33Assert.NotSame(e.Components, e.Components);
System\Drawing\Design\ToolboxItemTests.cs (11)
384Assert.IsType<Component>(Assert.Single(e.Components)); 450Assert.Same(component, Assert.Single(e.Components)); 516Assert.Same(component, Assert.Single(e.Components)); 586Assert.Same(component, Assert.Single(e.Components)); 640Assert.Null(e.Components); 689Assert.Null(e.Components); 719Assert.IsType<Component>(Assert.Single(e.Components)); 769Assert.Same(component, Assert.Single(e.Components)); 835Assert.Same(component, Assert.Single(e.Components)); 905Assert.Same(component, Assert.Single(e.Components)); 954Assert.Null(e.Components);