2039 references to Control
InteractiveHost32 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
42control = new Control();
InteractiveHost64 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
42control = new Control();
Microsoft.VisualBasic.Forms.Tests (4)
System\Windows\Forms\CompilerServices.TestVbHost.vb (1)
16Private ReadOnly _testControl As New Control()
System\Windows\Forms\ControlInvokeTests.vb (3)
22Using _control As New Control 53Using _control As New Control 83Using _control As New Control
System.Windows.Forms (19)
System\Windows\Forms\ActiveX\AxHost.cs (1)
180: base()
System\Windows\Forms\Control.cs (1)
401public Control(Control? parent, string? text) : this()
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
110public DateTimePicker() : base()
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
28public GroupBox() : base()
System\Windows\Forms\Controls\Labels\Label.cs (1)
63public Label() : base()
System\Windows\Forms\Controls\ListView\ListView.cs (1)
214public ListView() : base()
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
133public MonthCalendar() : base()
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
38public ProgressBar() : base()
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
117: base()
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
47public Splitter() : base()
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
80: base()
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
89internal TextBoxBase() : base()
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
53public TrackBar() : base()
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
155: base()
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
33internal UpDownButtons(UpDownBase parent) : base()
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
70internal WebBrowserBase(string clsidString) : base()
System\Windows\Forms\MDI\MDIClient.cs (1)
29public MdiClient() : base()
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
58public ScrollableControl() : base()
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
32public ScrollBar() : base()
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignerActionUI.cs (1)
105_marshalingControl = new Control();
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
183private Control DropSource => _dropSource ??= new Control();
System\Windows\Forms\Design\SelectionUIService.cs (1)
60public SelectionUIService(IDesignerHost host) : base()
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
41_dropSource ??= new Control();
System.Windows.Forms.Design.Tests (44)
ControlDesignerTests.cs (4)
201using Control childControl = new(); 218using Control childControl = new(); 340{ "Parent", new Control() } 360{ nameof(mockParentDesigner.Object.Component), new Control() }
SplitContainerDesignerTests.cs (1)
43using Control control = new();
System\ComponentModel\Design\ByteViewerTests.cs (14)
310yield return new object[] { new LayoutEventArgs(new Control(), null) }; 311yield return new object[] { new LayoutEventArgs(new Control(), string.Empty) }; 312yield return new object[] { new LayoutEventArgs(new Control(), "ChildIndex") }; 313yield return new object[] { new LayoutEventArgs(new Control(), "Visible") }; 314yield return new object[] { new LayoutEventArgs(new Control(), "Items") }; 315yield return new object[] { new LayoutEventArgs(new Control(), "Rows") }; 316yield return new object[] { new LayoutEventArgs(new Control(), "Columns") }; 317yield return new object[] { new LayoutEventArgs(new Control(), "RowStyles") }; 318yield return new object[] { new LayoutEventArgs(new Control(), "ColumnStyles") }; 319yield return new object[] { new LayoutEventArgs(new Control(), "TableIndex") }; 320yield return new object[] { new LayoutEventArgs(new Control(), "GrowStyle") }; 321yield return new object[] { new LayoutEventArgs(new Control(), "CellBorderStyle") }; 322yield return new object[] { new LayoutEventArgs(new Control(), "LayoutSettings") }; 323yield return new object[] { new LayoutEventArgs(new Control(), "NoSuchProperty") };
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (13)
18_control = new(); 62using Control control = new(); 70using Control control1 = new(); 71using Control control2 = new(); 80using Control control = new(); 107using Control control = new(); 115using Control control = new(); 116using Control anotherControl = new(); 126using Control control = new(); 135using Control control = new(); 144using Control control = new(); 152using Control control = new(); 161using Control control = new();
System\Windows\Forms\Design\DesignerToolStripControlHostTests.cs (1)
13using Control control = new();
System\Windows\Forms\Design\EventHandlerServiceTests.cs (1)
14using Control focusWnd = new();
System\Windows\Forms\Design\InheritanceUITests.cs (3)
25_control = new Control { Parent = _form }; 26_childControl = new Control { Parent = _control }; 27_sitedChildControl = new Control { Parent = _control, Site = new Mock<ISite>().Object };
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (4)
14using Control control = new(); 28using Control control = new(); 46using Control control = new(); 60using Control control = new();
System\Windows\Forms\Design\ToolStripContainerDesignerTests.cs (1)
68using Control control = new();
SystemDesignMetadataReader.cs (1)
17IDesigner designer = designSurface.CreateDesigner(new Control(), true);
TestControlDesigner.Mocks.cs (1)
14internal readonly Control _control = new();
System.Windows.Forms.Interop.Tests (1)
AccessibleObjectTests.cs (1)
490using Control control = new();
System.Windows.Forms.Tests (1963)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (8)
544using Control first = new(); 545using Control second = new(); 572using Control control = new(); 631using Control control = new(); 697using Control control = new(); 716using Control control = new(); 735using Control control = new(); 2161using Control control = new();
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (54)
50using Control ownerControl = new(); 74using Control ownerControl = new(); 115using Control ownerControl = new(); 134using Control ownerControl = new(); 153using Control ownerControl = new(); 168using Control ownerControl = new(); 187using Control ownerControl = new() 199using Control ownerControl = new() 218using Control ownerControl = new() 245using Control control = new(); 253using Control ownerControl = new(); 272using Control ownerControl = new(); 342using Control parent = new(); 423using Control previousControl = new() 448using Control previousControl = new() 473using Control previousControl = new() 542using Control parent = new(); 663using Control previousControl = new() 689using Control previousControl = new() 715using Control previousControl = new() 734using Control ownerControl = new(); 823using Control ownerControl = new() 835using Control ownerControl = new(); 853using Control ownerControl = new(); 869using Control ownerControl = new(); 877using Control ownerControl = new(); 885using Control child = new(); 886using Control ownerControl = new(); 898using Control ownerControl = new(); 906using Control ownerControl = new(); 935using Control ownerControl = new(); 980using Control ownerControl = new(); 991using Control ownerControl = new(); 1000using Control ownerControl = new(); 1009using Control ownerControl = new(); 1020using Control ownerControl = new(); 1031using Control ownerControl = new(); 1047using Control ownerControl = new(); 1057using Control ownerControl = new(); 1076using Control ownerControl = new(); 1094using Control ownerControl = new(); 1102using Control ownerControl = new(); 1117using Control ownerControl = new(); 1136using Control ownerControl = new(); 1153using Control ownerControl = new(); 1164using Control ownerControl = new(); 1173using Control ownerControl = new(); 1184using Control child = new(); 1185using Control ownerControl = new(); 1204using Control ownerControl = new(); 1213using Control control = new(); 1395using Control control = new(); 1599using Control ownerControl = new() { Name = "test name" }; 1617using Control control = new();
System\Windows\Forms\AccessibleObjects\ErrorProvider.ControlItem.ControlItemAccessibleObjectTests.cs (11)
31using Control control = new(); 43using Control parentControl = new(); 44using Control control = new(); 63using Control control = new(); 78using Control control = new(); 117using Control control = new(); 144using Control control = new(); 184using Control control = new(); 211using Control control = new(); 226using Control control = new(); 259using Control control = new();
System\Windows\Forms\AccessibleObjects\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObjectTests.cs (6)
90using Control control = new(); 104using Control control = new(); 121using Control control = new(); 143using Control control = new(); 161using Control control = new(); 180using Control control = new();
System\Windows\Forms\AccessibleObjects\ErrorProviderAccessibleObjectTests.cs (2)
27_control1 = new Control(); 31_control2 = new Control();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (5)
20using Control control = new(); 32using Control control = new(); 44using Control control = new(); 57using Control control = new(); 70using Control control = new();
System\Windows\Forms\Application.ParkingWindowTests.cs (5)
75using Control control = new(); 110using Control control = new(); 143using Control control = new(); 176using Control control = new(); 187using Control systemControl = new();
System\Windows\Forms\ApplicationTests.cs (1)
247using Control control = new();
System\Windows\Forms\AxHostTests.cs (11)
349Control parent = new() 388Control parent = new(); 466Control child1 = new(); 467Control child2 = new(); 490Control child1 = new() 494Control child2 = new() 1304using Control parent = new(); 1321using Control parent = new(); 1350using Control parent = new(); 1821using Control parent = new(); 2118using Control parent = new();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
258{ new Control(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\BindingContextTests.cs (1)
990Control control = new();
System\Windows\Forms\ButtonBaseTests.cs (22)
1137using Control parent = new(); 1308using Control parent = new(); 1548using Control parent = new(); 1715using Control parent = new(); 1885using Control parent = new(); 1989using Control parent = new(); 2801yield return new object[] { enabled, visible, image, new Control() }; 2865using Control oldParent = new(); 2889using Control parent = new(); 2990using Control parent = new(); 3075using Control parent = new(); 3170using Control parent = new(); 3315using Control parent = new(); 3431using Control parent = new(); 3549using Control parent = new(); 3658using Control parent = new(); 3759using Control parent = new(); 3856using Control parent = new(); 3969using Control parent = new(); 4085using Control parent = new(); 7188using Control parent = new(); 7290using Control parent = new();
System\Windows\Forms\ButtonTests.cs (10)
297using Control parent = new(); 445using Control parent = new(); 791using Control parent = new(); 886using Control parent = new(); 1935using Control parent = new() 2017using Control parent = new() 2922using Control parent = new(); 3024using Control parent = new(); 3119using Control parent = new() 3197using Control parent = new()
System\Windows\Forms\CommonDialogTests.cs (4)
153using Control owner = new(); 174using Control owner = new(); 188using Control owner = new(); 210using Control owner = new();
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (1)
157using Control control = new();
System\Windows\Forms\ContainerControlTests.cs (20)
150using Control child = new(); 151Control grandchild = new(); 176Assert.Throws<ArgumentException>("value", () => control.ActiveControl = new Control()); 200using Control child = new(); 562using Control child = new(); 613using Control child = new(); 794using Control child1 = new(); 795using Control grandchild1 = new(); 798using Control grandchild2 = new(); 1020using Control child1 = new(); 1021using Control grandchild1 = new(); 1024using Control grandchild2 = new(); 1254using Control child1 = new(); 1255using Control child2 = new(); 1284using Control child1 = new(); 1285using Control child2 = new(); 1315using Control control = new(); 1340using Control control = new(); 1365using Control control = new(); 1381using Control control = new();
System\Windows\Forms\Control.ActiveXImplTests.cs (1)
19using Control control = new();
System\Windows\Forms\ControlBindingsCollectionTests.cs (26)
17Control control = new(); 38using Control control = new(); 57using Control control = new(); 69using Control control = new(); 124using Control control = new(); 141using Control control = new(); 158using Control control = new(); 175using Control control = new(); 192using Control control = new(); 209using Control control = new(); 226using Control control = new(); 239using Control control = new(); 253using Control control = new(); 270using Control control = new(); 278using Control control = new(); 289using Control control1 = new(); 290using Control control2 = new(); 302using Control control = new(); 322using Control control = new(); 338using Control control = new(); 350using Control control = new(); 363using Control control1 = new(); 364using Control control2 = new(); 380using Control control = new(); 398using Control control = new(); 411using Control control = new();
System\Windows\Forms\ControlTests.ControlCollection.cs (202)
17using Control owner = new(); 34using Control owner = new(); 35using Control control1 = new(); 36using Control control2 = new(); 108using Control owner = new(); 109using Control control1 = new(); 110using Control control2 = new(); 185using Control owner1 = new(); 186using Control owner2 = new(); 187using Control control = new(); 224using Control owner = new(); 329using Control owner = new(); 330using Control control = new() 358using Control owner = new(); 359using Control control = new() 387using Control owner = new(); 388using Control control = new() 426using Control owner = new(); 427using Control control = new() 465using Control owner = new(); 466using Control child1 = new(); 467using Control child2 = new(); 543using Control owner = new(); 544using Control control = new(); 586using Control owner = new(); 587using Control control = new(); 641using Control owner = new(); 642using Control control = new(); 791using Control owner = new(); 792using Control control = new(); 944using Control owner = new(); 1017using Control owner = new(); 1111using Control owner = new(); 1126owner = new Control(); 1132using Control control = new(); 1150control = new Control(); 1156using Control owner = new(); 1169using Control owner = new(); 1177using Control parent = new(); 1178using Control owner = new() 1189using Control grandparent = new(); 1190using Control parent = new() 1194using Control owner = new() 1205using Control owner = new(); 1206using Control child1 = new(); 1207using Control child2 = new(); 1208using Control child3 = new(); 1277using Control owner = new(); 1285using Control owner = new(); 1286using Control child1 = new(); 1287using Control child2 = new(); 1288using Control child3 = new(); 1335using Control owner = new(); 1336using Control child1 = new(); 1337using Control child2 = new(); 1338using Control child3 = new(); 1378using Control owner = new(); 1380using Control child1 = new(); 1381using Control child2 = new(); 1387Assert.False(collection.Contains(new Control())); 1403using Control owner = new(); 1404using Control child1 = new() 1408using Control child2 = new() 1412using Control child3 = new() 1435using Control owner = new(); 1436using Control child1 = new() 1440using Control child2 = new() 1444using Control child3 = new() 1448using Control grandchild1 = new() 1452using Control grandchild2 = new() 1456using Control grandchild3 = new() 1488using Control owner = new(); 1489using Control child1 = new() 1493using Control child2 = new() 1497using Control child3 = new() 1514using Control owner = new(); 1523using Control owner = new(); 1525using Control child1 = new(); 1526using Control child2 = new(); 1537using Control owner = new(); 1539using Control child1 = new(); 1540using Control child2 = new(); 1551using Control owner = new(); 1553using Control child1 = new(); 1554using Control child2 = new(); 1560Assert.Equal(-1, collection.GetChildIndex(new Control(), throwException: false)); 1566yield return new object[] { new Control() }; 1574using Control owner = new(); 1576using Control child1 = new(); 1577using Control child2 = new(); 1588using Control owner = new(); 1609using Control owner = new(); 1610using Control child1 = new(); 1611using Control child2 = new(); 1612using Control child3 = new(); 1648using Control owner = new(); 1649using Control child = new(); 1671using Control owner = new(); 1672using Control child1 = new(); 1673using Control child2 = new(); 1674using Control child3 = new(); 1704using Control owner = new(); 1705using Control child1 = new(); 1706using Control child2 = new(); 1707using Control child3 = new(); 1744using Control owner = new(); 1746using Control child1 = new(); 1747using Control child2 = new(); 1753Assert.Equal(-1, collection.IndexOf(new Control())); 1769using Control owner = new(); 1770using Control child1 = new() 1774using Control child2 = new() 1778using Control child3 = new() 1802using Control owner = new(); 1803using Control child1 = new() 1807using Control child2 = new() 1811using Control child3 = new() 1838using Control owner = new(); 1839using Control child1 = new() 1843using Control child2 = new() 1847using Control child3 = new() 1868using Control owner = new(); 1869using Control child1 = new(); 1870using Control child2 = new(); 1871using Control child3 = new(); 1890using Control owner = new(); 1901using Control owner = new(); 1902using Control child = new(); 1913using Control owner = new(); 1914using Control child1 = new(); 1915using Control child2 = new(); 1976using Control child1 = new(); 1977using Control child2 = new(); 2042using Control owner = new(); 2043using Control child1 = new(); 2044using Control child2 = new(); 2118using Control owner = new(); 2119using Control child1 = new(); 2120using Control child2 = new(); 2209using Control owner1 = new(); 2210using Control owner2 = new(); 2211using Control control1 = new(); 2212using Control control2 = new(); 2213using Control control3 = new(); 2237using Control owner = new(); 2238using Control control = new(); 2283using Control owner = new(); 2284using Control control = new(); 2341using Control owner = new(); 2342using Control control = new(); 2485using Control owner = new(); 2486using Control control = new(); 2617using Control owner = new(); 2681using Control owner = new(); 2767using Control owner = new(); 2768using Control child1 = new(); 2769using Control child2 = new(); 2845using Control owner = new(); 2846using Control child1 = new(); 2847using Control child2 = new(); 2903using Control owner = new(); 2914using Control owner = new(); 2915using Control child = new(); 2928using Control owner = new(); 2929using Control child1 = new() 2933using Control child2 = new() 2937using Control child3 = new() 3004using Control owner = new(); 3005using Control child1 = new() 3009using Control child2 = new() 3013using Control child3 = new() 3035using Control owner = new(); 3036using Control child1 = new(); 3037using Control child2 = new(); 3038using Control child3 = new(); 3103using Control owner = new(); 3104using Control child1 = new(); 3105using Control child2 = new(); 3106using Control child3 = new(); 3158using Control owner = new(); 3159using Control child1 = new(); 3160using Control child2 = new(); 3161using Control child3 = new(); 3237using Control owner = new(); 3238using Control child1 = new(); 3239using Control child2 = new(); 3240using Control child3 = new(); 3331using Control owner = new(); 3333using Control child2 = new(); 3334using Control child3 = new(); 3411using Control owner = new(); 3419using Control owner = new(); 3420using Control child = new(); 3431using Control owner = new(); 3432using Control control1 = new(); 3433using Control control2 = new(); 3505using Control owner = new(); 3514using Control owner = new(); 3515using Control child1 = new(); 3516using Control child2 = new(); 3576using Control owner = new(); 3588_layoutEngine = new Control().LayoutEngine;
System\Windows\Forms\ControlTests.cs (7)
289yield return new object[] { new Control(), string.Empty, string.Empty }; 290yield return new object[] { new Control(), "text", "text" }; 385yield return new object[] { new Control(), string.Empty, 0, 0, 0, 0, string.Empty }; 386yield return new object[] { new Control(), "text", 1, 2, 3, 4, "text" }; 571using Control parent = new(); 596using Control parent = new(); 1123public SubControl() : base()
System\Windows\Forms\ControlTests.Handlers.cs (53)
131using Control child1 = new(); 132using Control child2 = new(); 178using Control child1 = new() 182using Control child2 = new() 326using Control child1 = new(); 327using Control child2 = new(); 377using Control child1 = new() 381using Control child2 = new() 507using Control child1 = new(); 508using Control child2 = new(); 554using Control child1 = new() 558using Control child2 = new() 655using Control child1 = new(); 656using Control child2 = new(); 704using Control child1 = new() 708using Control child2 = new() 1013yield return new object[] { new ControlEventArgs(new Control()) }; 1105using Control child1 = new(); 1106using Control child2 = new(); 1154using Control child1 = new() 1158using Control child2 = new() 1502using Control child1 = new(); 1503using Control child2 = new(); 1549using Control child1 = new() 1553using Control child2 = new() 1737using Control child1 = new(); 1738using Control child2 = new(); 1786using Control child1 = new() 1790using Control child2 = new() 1958using Control child1 = new(); 1959using Control child2 = new(); 2005using Control child1 = new() 2009using Control child2 = new() 2617Control parent = new(); 2677Control parent = new(); 3135using Control parent = new(); 3889Control control = new() 3930Control control = new() 4107using Control parent = new() 5029using Control child1 = new(); 5030using Control child2 = new() 5079using Control child1 = new() 5083using Control child2 = new() 5360using Control child1 = new(); 5361using Control child2 = new(); 5578using Control parent = new(); 5665using Control parent = new(); 5719using Control grandchild1 = new(); 5720using Control child1 = new(); 5721using Control child2 = new(); 5795using Control grandchild1 = new(); 5796using Control child1 = new() 5800using Control child2 = new()
System\Windows\Forms\ControlTests.Internals.cs (39)
14using Control control = new(); 26using Control control = new() 38using Control control = new() 53using Control control = new() 72using Control control = new() 91using Control control = new(); 109using Control control = new() 150using Control control = new() 162using Control control = new() 174using Control control = new(); 186using Control control = new(); 198using Control control = new(); 206using Control control = new(); 207Control parent = new(); 218using Control control = new(); 220Control parent = new(); 230using Control control = new(); 239using Control control = new() 251using Control control = new() 263using Control control = new(); 264Control parent = new(); 275using Control control = new(); 285using Control control = new(); 286Control first = new() 290Control second = new() 294Control third = new() 320using Control control = new(); 321Control first = new() 325Control second = new() 329Control third = new() 349using Control control = new(); 350Control first = new() 354Control second = new() 358Control third = new() 377using Control control = new(); 378Control first = new() 382Control second = new() 386Control third = new() 405using Control control = new();
System\Windows\Forms\ControlTests.Methods.cs (185)
135using Control parent = new(); 136using Control child1 = new(); 137using Control child2 = new(); 177using Control parent = new(); 178using Control child1 = new(); 179using Control child2 = new(); 232using Control parent = new(); 233using Control child1 = new(); 234using Control child2 = new(); 299using Control parent = new(); 301using Control child2 = new(); 504using Control parent = new(); 565using Control control = new() 691using Control parent = new(); 779using Control parent = new(); 780using Control control = new() 784using Control child1 = new() 788using Control child2 = new() 792using Control grandchild1 = new() 796using Control otherParent = new(); 797using Control otherControl = new() 801using Control emptyControl = new(); 844using Control parent = new(); 974using Control control = new(); 1019using Control parent = new(); 1022using Control control = new() 1072using Control control = new(); 1073using Control child1 = new(); 1074using Control child2 = new(); 1150using Control control = new(); 1197using Control control = new(); 1829using Control control = new(); 1839using Control control = new(); 1858using Control control = new(); 1866using Control control = new(); 1975using Control control = new(); 1984using Control control = new(); 2102using Control control = new(); 2122using Control control = new(); 2136using Control control = new(); 2143using Control grandparent = new(); 2144using Control parent = new() 2148using Control control = new() 2165using Control parent = new() 2169using Control control = new() 2186using Control control = new() 2204using Control parent = new() 2208using Control control = new() 2226using Control parent = new() 2230using Control control = new() 2247using Control cont = new(); 2248using Control first = new() 2252using Control second = new() 2256using Control third = new() 2275using Control cont = new(); 2276using Control first = new() 2280using Control second = new() 2284using Control third = new() 2303using Control cont = new(); 2304using Control first = new() 2308using Control second = new() 2312using Control third = new() 2331using Control cont = new(); 2332using Control first = new() 2336using Control second = new() 2340using Control third = new() 2369using Control control = new(); 2382using Control control = new() 2421using Control control = new() 2570.Returns(new Control()); 2906using Control control = new() 2921using Control control = new() 2997_layoutEngine = new Control().LayoutEngine; 3796using Control control = new(); 3821using Control control = new(); 3847using Control control = new(); 3876using Control control = new(); 3910using Control control = new(); 3946using Control control = new(); 3979using Control control = new(); 4012using Control control = new(); 4038using Control control = new(); 4065using Control control = new(); 4100using Control control = new(); 4130using Control control = new(); 4172using Control control = new(); 4181using Control control = new(); 4193using Control otherControl = new(); 4317using Control otherControlParent = new(); 4369using Control otherControl = new(); 4772using Control control = new(); 4826using Control parent = new(); 4827using Control control = new() 4861using Control parent = new(); 4955control.PerformLayout(new Control(), "OtherAffectedProperty"); 4959control.PerformLayout(new Control(), "OtherAffectedProperty"); 4978using Control control = new(); 5017yield return new object[] { new Control(), string.Empty }; 5018yield return new object[] { new Control(), "AffectedProperty" }; 5025using Control control = new(); 5081using Control parent = new(); 5082using Control control = new() 5114yield return new object[] { true, new Control(), string.Empty, 1 }; 5115yield return new object[] { true, new Control(), "AffectedProperty", 1 }; 5118yield return new object[] { false, new Control(), string.Empty, 0 }; 5119yield return new object[] { false, new Control(), "AffectedProperty", 0 }; 5126using Control parent = new(); 5177yield return new object[] { true, new Control(), string.Empty, 1 }; 5178yield return new object[] { true, new Control(), "AffectedProperty", 1 }; 5181yield return new object[] { false, new Control(), string.Empty, 0 }; 5182yield return new object[] { false, new Control(), "AffectedProperty", 0 }; 5229control.PerformLayout(new Control(), "OtherAffectedProperty"); 5233control.PerformLayout(new Control(), "OtherAffectedProperty"); 5252using Control control = new(); 5279control.PerformLayout(new Control(), "AffectedProperty"); 5294Assert.Throws<NullReferenceException>(() => control.PerformLayout(new Control(), "AffectedProperty")); 5372using Control parent = new(); 5549using Control parent = new(); 5602using Control parent = new(); 5650using Control parent = new(); 5750using Control parent = new(); 6041using Control parent = new(); 6249using Control parent = new(); 6335using Control control = new(); 6347using Control control = new(); 6388using Control control = new(); 6446using Control control = new(); 6466using Control control = new(); 6580yield return new object[] { new Control(), string.Empty, true, 1 }; 6581yield return new object[] { new Control(), "AffectedProperty", true, 1 }; 6584yield return new object[] { new Control(), string.Empty, false, 0 }; 6585yield return new object[] { new Control(), "AffectedProperty", false, 0 }; 6592using Control control = new(); 6620using Control control = new(); 6634control.PerformLayout(new Control(), "AnotherAffectedProperty"); 6650using Control control = new(); 6670using Control control = new(); 6700using Control control = new(); 6715control.PerformLayout(new Control(), "AnotherAffectedProperty"); 6731using Control control = new(); 6754using Control child = new(); 6783using Control control = new(); 6802using Control child = new(); 6829using Control control = new(); 7030using Control parent = new(); 7031using Control child1 = new(); 7032using Control child2 = new(); 7072using Control parent = new(); 7073using Control child1 = new(); 7074using Control child2 = new(); 7127using Control parent = new(); 7128using Control child1 = new(); 7129using Control child2 = new(); 7194using Control parent = new(); 7196using Control child2 = new(); 7315using Control parent = new(); 7688using Control parent = new(); 7945using Control parent = new(); 8545using Control parent = new(); 8802using Control parent = new(); 9342using Control parent = new(); 9640using Control parent = new(); 10126using Control parent = new(); 10229using Control control = new() 10247using Control control = new() 10278using Control control = new(); 10295using Control control = new(); 10325using Control control = new(); 10332using Control control = new(); 10344using Control control = new(); 11245using Control parent = new(); 11483using Control parent = new(); 11731using Control parent = new(); 11981using Control parent = new(); 12190using Control parent = new(); 12209using Control parent = new(); 12241using Control parent = new(); 12274using Control parent = new(); 12318using Control parent = new(); 12319using Control child1 = new(); 12365using Control parent = new(); 12554using Control control = new(); 12628using Control control = new(); 14249using Control grandparent = new(); 14337using Control grandparent = new();
System\Windows\Forms\ControlTests.Properties.cs (362)
21using Control control = new(); 37using Control control = new(); 81using Control control1 = new(); 107using Control control = new() 124using Control control = new() 141using Control control = new() 158using Control control = new() 175using Control control = new(); 183using Control control = new() 205using Control control = new(); 242using Control control = new(); 282using Control control = new(); 337using Control control = new(); 359using Control control = new() 410using Control parent = new(); 411using Control control = new() 455using Control grandparent = new(); 456using Control parent = new() 460using Control control = new() 556using Control parent = new(); 557using Control control = new() 675using Control grandparent = new(); 676using Control parent = new() 680using Control control = new() 767using Control control = new() 821using Control parent = new(); 822using Control control = new() 869using Control control = new(); 904using Control control = new() 919using Control control = new(); 946using Control parent = new(); 947using Control control = new() 1001using Control control = new() 1064using Control control = new(); 1107using Control parent = new(); 1108using Control control = new() 1190using Control control = new() 1229using Control control = new() 1246using Control control = new() 1289using Control child1 = new(); 1290using Control child2 = new(); 1291using Control control = new(); 1313using Control child1 = new() 1317using Control child2 = new() 1321using Control control = new(); 1349using Control control = new(); 1377using Control control = new(); 1412using Control control = new(); 1437using Control child1 = new(); 1438using Control child2 = new(); 1439using Control control = new(); 1517using Control child1 = new() 1521using Control child2 = new() 1525using Control control = new(); 1597using Control control = new(); 1605using Control control = new(); 1621using Control control = new(); 1637using Control control = new() 1660using Control control = new(); 1689using Control child1 = new(); 1690using Control child2 = new(); 1691using Control control = new(); 1713using Control child1 = new() 1717using Control child2 = new() 1721using Control control = new(); 1740using Control control = new(); 1782using Control control = new(); 1808using Control child1 = new(); 1809using Control child2 = new(); 1810using Control control = new(); 1895using Control child1 = new() 1899using Control child2 = new() 1903using Control control = new(); 2073using Control control = new(); 2108using Control control = new(); 2134using Control control = new(); 2142using Control parent = new() 2146using Control control = new() 2161using Control control = new() 2178using Control control = new() 2195using Control control = new() 2213using Control control = new(); 2255using Control child1 = new(); 2256using Control child2 = new(); 2257using Control control = new(); 2342using Control child1 = new() 2346using Control child2 = new() 2350using Control control = new(); 2693using Control parent = new(); 2904using Control parent = new(); 3047using Control control = new() 3063using Control control = new() 3078using Control parent = new() 3083using Control control = new() 3097using Control control = new() 3113using Control parent = new() 3118using Control control = new() 3130using Control control = new() 3152using Control control = new(); 3189using Control control = new() 3211using Control control = new(); 3247using Control control = new() 3284yield return new object[] { new Control(), Size.Empty }; 3326using Control control = new(); 3484using Control control = new(); 3538using Control control = new() 3556using Control control = new() 3574using Control control = new() 3589using Control control = new() 3605using Control control = new(); 3647yield return new object[] { new Control.ControlCollection(new Control()) }; 3674using Control control = new(); 3680using Control child = new(); 3694using Control control = new(); 3700using Control child = new(); 3714using Control control = new() 3730using Control parent = new() 3734using Control control = new() 3754using Control control = new() 3782using Control parent = new() 3808using Control control = new() 3825using Control control = new(); 3854using Control child1 = new(); 3855using Control child2 = new(); 3856using Control control = new(); 3878using Control child1 = new() 3882using Control child2 = new() 3886using Control control = new(); 3905using Control control = new(); 3947using Control child1 = new(); 3948using Control child2 = new(); 3949using Control control = new(); 4034using Control child1 = new() 4038using Control child2 = new() 4042using Control control = new(); 4126using Control control = new(); 4148using Control control = new() 4183using Control parent = new(); 4184using Control control = new() 4273using Control parent = new(); 4274using Control control = new() 4330using Control control = new() 4349using Control control = new(); 4383using Control control = new() 4422using Control control = new(); 4504using Control control = new() 4567using Control control = new() 4605using Control child1 = new(); 4606using Control child2 = new(); 4607using Control control = new() 4682using Control child1 = new() 4686using Control child2 = new() 4690using Control control = new() 4766using Control control = new(); 4782using Control control = new(); 4799using Control parent = new() 4803using Control control = new() 4823using Control control = new() 5022using Control control = new(); 5064using Control child1 = new(); 5065using Control child2 = new(); 5066using Control control = new(); 5151using Control child1 = new() 5155using Control child2 = new() 5159using Control control = new(); 5243using Control control = new(); 5268using Control control = new(); 5293using Control control = new() 5310using Control control = new() 5329using Control child1 = new(); 5330using Control child2 = new(); 5331using Control control = new(); 5353using Control child1 = new() 5357using Control child2 = new() 5361using Control control = new(); 5390using Control control = new(); 5418using Control control = new(); 5453using Control control = new(); 5478using Control child1 = new(); 5479using Control child2 = new(); 5480using Control control = new(); 5558using Control child1 = new() 5562using Control child2 = new() 5566using Control control = new(); 5639using Control control = new(); 5655using Control control = new(); 5670using Control cont = new(); 5970using Control parent = new(); 6205using Control parent = new(); 6363using Control control = new() 6380using Control control = new(); 6408using Control control = new(); 6444using Control control = new(); 6558using Control control = new(); 6571using Control control = new(); 6585using Control control = new() 6606using Control control = new(); 6637using Control control = new(); 6740using Control parent = new(); 6934using Control parent = new(); 7087using Control control = new(); 7145using Control control = new(); 7219using Control parent = new(); 7417using Control parent = new(); 7573using Control control = new(); 7597using Control control = new(); 7620using Control control = new(); 7673yield return new object[] { new Control(), new Padding(3) }; 7707using Control control = new(); 7727using Control parent = new(); 7728using Control control = new() 7757using Control control = new(); 7796using Control parent = new(); 7797using Control control = new() 7851using Control control = new(); 7867using Control control = new(); 7881yield return new object[] { new Control(), Size.Empty }; 7929using Control control = new(); 7951using Control control = new() 7997using Control control = new() 8028using Control control = new() 8053using Control control = new() 8100using Control parent = new(); 8101using Control control = new() 8155using Control parent = new(); 8156using Control control = new() 8198using Control control = new(); 8233using Control control = new() 8271using Control control = new() 8309using Control parent = new(); 8310using Control control = new() 8376using Control parent = new(); 8377using Control control = new() 8444using Control control = new(); 8468using Control control = new(); 8490yield return new object[] { new Control(), Size.Empty }; 8538using Control control = new(); 8582using Control control = new() 8635using Control control = new() 8666using Control control = new() 8697using Control control = new() 8744using Control parent = new(); 8745using Control control = new() 8805using Control parent = new(); 8806using Control control = new() 8870using Control control = new(); 8927using Control control = new() 8993using Control control = new() 9052using Control parent = new(); 9053using Control control = new() 9140using Control parent = new(); 9141using Control control = new() 9214using Control control = new(); 9238using Control control = new(); 9300using Control control = new() 9316using Control control = new() 9333using Control control = new() 9368using Control control = new() 9385yield return new object[] { new Control(), Padding.Empty }; 9413using Control control = new(); 9439using Control parent = new(); 9440using Control control = new() 9537using Control parent = new(); 9608using Control control = new(); 9646using Control control = new(); 9662using Control control = new(); 9677yield return new object[] { new Control() }; 9685using Control control = new() 9702using Control oldParent = new(); 9703using Control control = new() 9723using Control parent = new(); 9724using Control control = new() 9743using Control control = new(); 9771using Control parent = new(); 9772using Control control = new(); 9807using Control control = new(); 9815using Control child = new(); 9816using Control control = new(); 9826using Control parent = new(); 9837using Control control = new(); 9838using Control child = new() 9856using Control child = new() 9878using Control control = new() 9896using Control control = new() 9918using Control control = new(); 9948using Control control = new() 9982using Control control = new(); 10057using Control control = new() 10074using Control control = new() 10093using Control child1 = new(); 10094using Control child2 = new(); 10095using Control control = new(); 10117using Control child1 = new() 10121using Control child2 = new() 10125using Control control = new(); 10149using Control control = new(); 10180using Control control = new() 10211using Control control = new(); 10246using Control control = new(); 10271using Control child1 = new(); 10272using Control child2 = new() 10276using Control control = new(); 10354using Control child1 = new() 10358using Control child2 = new() 10362using Control control = new(); 10435using Control control = new(); 10443using Control control = new(); 10471using Control control = new(); 10649using Control control = new() 10666using Control control = new(); 10702using Control control = new() 10779using Control control = new(); 10955using Control control = new() 11369using Control parent = new(); 11614using Control parent = new(); 11754using Control control = new(); 11778using Control control = new(); 11804using Control control = new() 11820using Control control = new() 11858using Control control = new(); 11866using Control control = new() 11888using Control control = new(); 11924using Control control = new() 11963using Control control = new() 11980using Control control = new(); 12008using Control control = new(); 12044using Control control = new(); 12071using Control control = new(); 12174using Control parent = new(); 12366using Control parent = new(); 12519using Control control = new(); 12567using Control grandparent = new(); 12568using Control parent = new() 12572using Control control = new() 12586using Control parent = new() 12590using Control control = new() 12603using Control control = new() 12625using Control control = new(); 12626using Control child1 = new(); 12627using Control child2 = new(); 12656using Control control = new(); 12696using Control parent = new() 12700using Control item = new() 12715using Control control = new() 12737using Control parent = new(); 12738using Control control = new() 12811using Control parent = new(); 12812using Control control = new() 12869using Control control = new() 12907using Control child1 = new(); 12908using Control child2 = new(); 12909using Control control = new() 12984using Control child1 = new() 12988using Control child2 = new() 12992using Control control = new() 13068using Control control = new(); 13084using Control control = new(); 13389using Control parent = new(); 13624using Control parent = new(); 13763using Control cont = new(); 13775using Control control = new() 13790using Control control = new();
System\Windows\Forms\DataGridViewTests.cs (8)
113using Control parent = new(); 255using Control parent = new(); 817yield return new object[] { new Control() }; 842using Control oldParent = new(); 863using Control parent = new(); 909using Control parent = new(); 1030using Control parent = new(); 1179using Control parent = new();
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
1587using Control parent = new(); 1878using Control parent = new();
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
803using Control result = new();
System\Windows\Forms\ErrorProviderTests.cs (21)
856yield return new object[] { new Control(), true }; 871using Control control = new(); 894using Control control = new(); 924using Control control = new(); 953using Control control = new(); 971using Control control = new(); 989using Control control = new(); 1045using Control control = new(); 1072using Control control = new(); 1096using Control control = new(); 1105using Control control = new(); 1130yield return new object[] { blinkStyle, new SubControl { Parent = new() }, error, error ?? string.Empty }; 1140using Control originalParent = new(); 1141using Control newParent = new(); 1227using Control control1 = new(); 1238using Control control1 = new(); 1251using Control control1 = new(); 1264using Control control1 = new(); 1277using Control control1 = new(); 1293using Control control1 = new(); 1306using Control control1 = new();
System\Windows\Forms\FlowLayoutPanelTests.cs (8)
215using Control extendee = new() 227yield return new object[] { new Control() }; 228yield return new object[] { new Control { Parent = new() } }; 250using Control child = new(); 318using Control child = new(); 354using Control parent = new(); 355using Control child = new()
System\Windows\Forms\FlowLayoutSettingsTests.cs (4)
100Assert.False(settings.GetFlowBreak(new Control())); 134using Control child = new(); 174using Control parent = new(); 175using Control child = new()
System\Windows\Forms\FormTests.cs (7)
925yield return new object[] { new Control() }; 953using Control oldParent = new(); 1067yield return new object[] { new Control() }; 1099using Control parent = new(); 1153using Control parent = new(); 1204using Control parent = new(); 2601using Control control = new();
System\Windows\Forms\GroupBoxTests.cs (8)
267using Control parent = new(); 415using Control parent = new(); 925using Control child = new() 1218using Control parent = new(); 1315using Control parent = new(); 1982using Control parent = new(); 2027using Control parent = new() 2043using Control parent = new()
System\Windows\Forms\HelpProviderTests.cs (21)
50using Control control = new(); 75yield return new object[] { new Control(), true }; 90Assert.Null(provider.GetHelpKeyword(new Control())); 104Assert.Equal(HelpNavigator.AssociateIndex, provider.GetHelpNavigator(new Control())); 118Assert.Null(provider.GetHelpString(new Control())); 132Assert.False(provider.GetShowHelp(new Control())); 147using Control control = new(); 158using Control control = new(); 187using Control control = new(); 221using Control control = new(); 253using Control control = new(); 288using Control control = new(); 305using Control control = new(); 323using Control control = new(); 350Assert.Throws<InvalidEnumArgumentException>("navigator", () => provider.SetHelpNavigator(new Control(), navigator)); 358using Control control = new(); 377using Control control = new(); 397using Control control = new(); 424using Control control = new(); 450using Control control = new(); 490Assert.False(provider.ShouldSerializeShowHelp(new Control()));
System\Windows\Forms\HtmlDocumentTests.cs (96)
18using Control parent = new(); 50using Control parent = new(); 82using Control parent = new(); 106using Control parent = new(); 136using Control parent = new(); 156using Control parent = new(); 176using Control parent = new(); 193using Control parent = new(); 210using Control parent = new(); 235using Control parent = new(); 267using Control parent = new(); 299using Control parent = new(); 329using Control parent = new(); 359using Control parent = new(); 376using Control parent = new(); 393using Control parent = new(); 418using Control parent = new(); 435using Control parent = new(); 470using Control parent = new(); 485using Control parent = new(); 500using Control parent = new(); 522using Control parent = new(); 537using Control parent = new(); 553using Control parent = new(); 575using Control parent = new(); 590using Control parent = new(); 604using Control parent = new(); 628using Control parent = new(); 662using Control parent = new(); 676using Control parent = new(); 691using Control parent = new(); 715using Control parent = new(); 747using Control parent = new(); 779using Control parent = new(); 801using Control parent = new(); 832using Control parent = new(); 852using Control parent = new(); 868using Control parent = new(); 888using Control parent = new(); 904using Control parent = new(); 936using Control parent = new(); 968using Control parent = new(); 990using Control parent = new(); 1020using Control parent = new(); 1040using Control parent = new(); 1056using Control parent = new(); 1081using Control parent = new(); 1104using Control parent = new(); 1128using Control parent = new(); 1165using Control parent = new(); 1179using Control parent = new(); 1194using Control parent = new(); 1216using Control parent = new(); 1246using Control parent = new(); 1267using Control parent = new(); 1299using Control parent = new(); 1331using Control parent = new(); 1353using Control parent = new(); 1383using Control parent = new(); 1402using Control parent = new(); 1464using Control parent = new(); 1502using Control parent = new(); 1520using Control parent = new(); 1540using Control parent = new(); 1557using Control parent = new(); 1573using Control parent = new(); 1601using Control parent = new(); 1618using Control parent = new(); 1635using Control parent = new(); 1658using Control parent = new(); 1676using Control parent = new(); 1691using Control parent = new(); 1710using Control parent = new(); 1728using Control parent = new(); 1742using Control parent = new(); 1759using Control parent = new(); 1784using Control parent = new(); 1804using Control parent = new(); 1818using Control parent = new(); 1836using Control parent = new(); 1875using Control parent = new(); 1902using Control parent = new(); 1919using Control parent = new(); 1936using Control parent = new(); 1954using Control parent = new(); 1974using Control parent = new(); 1995using Control parent = new(); 2033using Control parent = new(); 2071using Control parent = new(); 2109using Control parent = new(); 2147using Control parent = new(); 2185using Control parent = new(); 2223using Control parent = new(); 2261using Control parent = new(); 2299using Control parent = new(); 2337using Control parent = new();
System\Windows\Forms\HtmlElementTests.cs (127)
18using Control parent = new(); 38using Control parent = new(); 55using Control parent = new(); 74using Control parent = new(); 89using Control parent = new(); 104using Control parent = new(); 120using Control parent = new(); 139using Control parent = new(); 156using Control parent = new(); 178using Control parent = new(); 196using Control parent = new(); 212using Control parent = new(); 234using Control parent = new(); 273using Control parent = new(); 288using Control parent = new(); 306using Control parent = new(); 321using Control parent = new(); 339using Control parent = new(); 364using Control parent = new(); 395using Control parent = new(); 410using Control parent = new(); 429using Control parent = new(); 455using Control parent = new(); 486using Control parent = new(); 501using Control parent = new(); 516using Control parent = new(); 531using Control parent = new(); 550using Control parent = new(); 576using Control parent = new(); 607using Control parent = new(); 622using Control parent = new(); 637using Control parent = new(); 652using Control parent = new(); 668using Control parent = new(); 694using Control parent = new(); 727using Control parent = new(); 742using Control parent = new(); 760using Control parent = new(); 778using Control parent = new(); 796using Control parent = new(); 812using Control parent = new(); 827using Control parent = new(); 851using Control parent = new(); 882using Control parent = new(); 913using Control parent = new(); 928using Control parent = new(); 943using Control parent = new(); 962using Control parent = new(); 988using Control parent = new(); 1019using Control parent = new(); 1034using Control parent = new(); 1055using Control parent = new(); 1073using Control parent = new(); 1091using Control parent = new(); 1115using Control parent = new(); 1145using Control parent = new(); 1163using Control parent = new(); 1181using Control parent = new(); 1205using Control parent = new(); 1235using Control parent = new(); 1254using Control parent = new(); 1273using Control parent = new(); 1302using Control parent = new(); 1335using Control parent = new(); 1353using Control parent = new(); 1377using Control parent = new(); 1407using Control parent = new(); 1422using Control parent = new(); 1454using Control parent = new(); 1492using Control parent = new(); 1509using Control parent = new(); 1574using Control parent = new(); 1615using Control parent = new(); 1657using Control parent = new(); 1696using Control parent = new(); 1715using Control parent = new(); 1735using Control parent = new(); 1764using Control parent = new(); 1782using Control parent = new(); 1800using Control parent = new(); 1822using Control parent = new(); 1840using Control parent = new(); 1856using Control parent = new(); 1888using Control parent = new(); 1908using Control parent = new(); 1923using Control parent = new(); 1948using Control parent = new(); 1963using Control parent = new(); 1986using Control parent = new(); 2024using Control parent = new(); 2068using Control parent = new(); 2106using Control parent = new(); 2150using Control parent = new(); 2186using Control parent = new(); 2230using Control parent = new(); 2265using Control parent = new(); 2309using Control parent = new(); 2325using Control parent = new(); 2341using Control parent = new(); 2361using Control parent = new(); 2380using Control parent = new(); 2398using Control parent = new(); 2419using Control parent = new(); 2438using Control parent = new(); 2463using Control parent = new(); 2478using Control parent = new(); 2495using Control parent = new(); 2518using Control parent = new(); 2542using Control parent = new(); 2583using Control parent = new(); 2624using Control parent = new(); 2665using Control parent = new(); 2706using Control parent = new(); 2747using Control parent = new(); 2788using Control parent = new(); 2829using Control parent = new(); 2870using Control parent = new(); 2911using Control parent = new(); 2952using Control parent = new(); 2993using Control parent = new(); 3034using Control parent = new(); 3075using Control parent = new(); 3116using Control parent = new(); 3157using Control parent = new(); 3198using Control parent = new(); 3239using Control parent = new(); 3280using Control parent = new();
System\Windows\Forms\HtmlWindowTests.cs (4)
15using Control parent = new(); 31using Control parent = new(); 47using Control parent = new(); 68using Control parent = new();
System\Windows\Forms\Layout\FlowLayoutTests.cs (28)
40using Control child1 = new() 45using Control child2 = new() 50using Control largeChild = new() 55using Control emptyChild = new() 59using Control emptyChildWithMargin = new() 64using Control child3 = new() 69using Control child4 = new() 101using Control child1 = new() 106using Control child2 = new() 111using Control largeChild = new() 116using Control emptyChild = new() 120using Control emptyChildWithMargin = new() 125using Control child3 = new() 130using Control child4 = new() 162using Control child1 = new() 167using Control child2 = new() 172using Control largeChild = new() 177using Control emptyChild = new() 181using Control emptyChildWithMargin = new() 186using Control child3 = new() 191using Control child4 = new() 223using Control child1 = new() 228using Control child2 = new() 233using Control largeChild = new() 238using Control emptyChild = new() 242using Control emptyChildWithMargin = new() 247using Control child3 = new() 252using Control child4 = new()
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (58)
159using Control child = new(); 168using Control child = new(); 209using Control child = new(); 219using Control child = new(); 229using Control child = new(); 239using Control child = new(); 251using Control child = new(); 258using Control child = new(); 299using Control child = new(); 308using Control child = new(); 317using Control child = new(); 352using Control child = new(); 359using Control child = new(); 400using Control child = new(); 409using Control child = new(); 460using Control child = new(); 497using Control parent = new(); 498using Control child = new() 550using Control child = new(); 572using Control parent = new(); 573using Control child = new() 621using Control child = new(); 635using Control child = new(); 684using Control child = new(); 716using Control parent = new(); 717using Control child = new() 773using Control child = new(); 799using Control parent = new(); 800using Control child = new() 841using Control child = new(); 855using Control child = new(); 922using Control child = new(); 951using Control parent = new(); 952using Control child = new() 1006using Control child = new(); 1030using Control parent = new(); 1031using Control child = new() 1072using Control child = new(); 1086using Control child = new(); 1160using Control child = new(); 1192using Control parent = new(); 1193using Control child = new() 1249using Control child = new(); 1275using Control parent = new(); 1276using Control child = new() 1317using Control child = new(); 1331using Control child = new(); 1398using Control child = new(); 1427using Control parent = new(); 1428using Control child = new() 1482using Control child = new(); 1506using Control parent = new(); 1507using Control child = new() 1548using Control child = new(); 1562using Control child = new(); 1660using Control controlWithName = new() 1664using Control controlWithDefaultName = new(); 1777using Control controlWithName = new() { Name = "name" };
System\Windows\Forms\LayoutEventArgsTests.cs (3)
14yield return new object[] { new Control(), "" }; 31yield return new object[] { new Control(), "" }; 32yield return new object[] { new Control(), "affectedProperty" };
System\Windows\Forms\ListBoxTests.cs (1)
928using Control parent = new();
System\Windows\Forms\MdiClientTests.cs (7)
179using Control parent = new() 258using Control parent = new() 374using Control parent = new() 418using Control parent = new() 696using Control parent = new(); 845using Control parent = new() 1007using Control parent = new()
System\Windows\Forms\MenuStripTests.cs (1)
697using Control parent = new();
System\Windows\Forms\MixedDpiHostingTests.cs (1)
27using Control control = new();
System\Windows\Forms\NativeWindowTests.cs (12)
20using Control control = new(); 49using Control control = new(); 86using Control control = new(); 143using Control control = new(); 172using Control control = new(); 236using Control control = new(); 293using Control control = new(); 338using Control control = new(); 404using Control control = new(); 414using Control control = new(); 426using Control control = new(); 472using Control control = new();
System\Windows\Forms\PanelTests.cs (5)
255using Control parent = new(); 352_layoutEngine = new Control().LayoutEngine; 403using Control parent = new(); 612using Control child = new() 627using Control child = new()
System\Windows\Forms\PictureBoxTests.cs (7)
238using Control control = new() 257using Control control = new(); 275using Control control = new() 1117yield return new object[] { new Control() }; 1140using Control oldParent = new(); 1159using Control parent = new(); 1176using Control parent = new();
System\Windows\Forms\ReadOnlyControlCollectionTests.cs (1)
11using Control owner = new();
System\Windows\Forms\RichTextBoxTests.cs (8)
460using Control parent = new(); 677using Control control = new(); 2131using Control parent = new(); 2187using Control parent = new(); 2962using Control parent = new(); 3085using Control parent = new(); 7100using Control parent = new(); 7328using Control parent = new();
System\Windows\Forms\ScreenTests.cs (3)
66yield return new object[] { new Control() }; 68Control createdControl = new(); 99using Control control = new();
System\Windows\Forms\ScrollableControlTests.cs (6)
1392yield return new object[] { true, new LayoutEventArgs(affectedControl = new Control(), "affectedProperty"), 2, affectedControl }; 1396yield return new object[] { false, new LayoutEventArgs(affectedControl = new Control(), "affectedProperty"), 1, affectedControl }; 1568Func<Control> controlFactory = () => new Control 1663static Control CreateControl() => new() 1821using Control parent = new() 2484yield return new object[] { true, true, true, new Size(70, 80), new Control(), new Rectangle(0, 0, 70, 80) };
System\Windows\Forms\SplitterPanelTests.cs (4)
214using Control parent = new(); 275using Control parent = new(); 713yield return new object[] { new Control() }; 737using Control parent = new();
System\Windows\Forms\SplitterTests.cs (12)
1140using Control parent = new() 1195using Control parent = new() 1200using Control child = new() 1240using Control parent = new() 1245using Control child = new() 1312using Control parent = new() 1359using Control parent = new() 1364using Control child = new() 2007using Control parent = new() 2012using Control child = new() 2108using Control parent = new() 2113using Control child = new()
System\Windows\Forms\StatusStripTests.cs (1)
1132yield return new object[] { layoutStyle, dock, new LayoutEventArgs(new Control(), "AffectedProperty") };
System\Windows\Forms\TabControl.ControlCollectionTests.cs (3)
875using Control value = new(); 1455using Control value1 = new(); 1456using Control value2 = new();
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (8)
1084yield return new object[] { new Control() }; 1588Assert.False(iList.Contains(new Control())); 1600Assert.False(iList.Contains(new Control())); 1893Assert.Equal(-1, iList.IndexOf(new Control())); 1905Assert.Equal(-1, iList.IndexOf(new Control())); 3133yield return new object[] { new Control() }; 3930yield return new object[] { new Control() }; 4795yield return new object[] { new Control() };
System\Windows\Forms\TableLayoutControlCollectionTests.cs (3)
32using Control child = new(); 44using Control child = new(); 56using Control child = new();
System\Windows\Forms\TableLayoutPanelTests.cs (62)
343using Control child = new(); 363using Control child = new(); 497using Control controlWithName = new() { Name = "name" }; 498using Control controlWithDefaultName = new(); 646using Control child = new(); 661using Control child = new(); 670using Control child = new(); 679using Control child = new(); 694using Control child = new(); 735using Control child = new(); 775using Control child = new(); 795using Control child = new() 818using Control child = new() 840using Control otherChild = new(); 841using Control child = new() 888using Control child = new(); 902using Control child = new(); 914using Control child = new(); 932using Control child = new(); 1140using Control child = new(); 1320yield return new object[] { new LayoutEventArgs(new Control(), null) }; 1321yield return new object[] { new LayoutEventArgs(new Control(), string.Empty) }; 1322yield return new object[] { new LayoutEventArgs(new Control(), "ChildIndex") }; 1323yield return new object[] { new LayoutEventArgs(new Control(), "Visible") }; 1324yield return new object[] { new LayoutEventArgs(new Control(), "Items") }; 1325yield return new object[] { new LayoutEventArgs(new Control(), "Rows") }; 1326yield return new object[] { new LayoutEventArgs(new Control(), "Columns") }; 1327yield return new object[] { new LayoutEventArgs(new Control(), "RowStyles") }; 1328yield return new object[] { new LayoutEventArgs(new Control(), "ColumnStyles") }; 1329yield return new object[] { new LayoutEventArgs(new Control(), "TableIndex") }; 1330yield return new object[] { new LayoutEventArgs(new Control(), "GrowStyle") }; 1331yield return new object[] { new LayoutEventArgs(new Control(), "CellBorderStyle") }; 1332yield return new object[] { new LayoutEventArgs(new Control(), "LayoutSettings") }; 1333yield return new object[] { new LayoutEventArgs(new Control(), "NoSuchProperty") }; 1505using Control child1 = new(); 1510using Control child2 = new(); 1555using Control child = new(); 1591using Control parent = new(); 1592using Control child = new() 1642using Control child = new(); 1666using Control child = new(); 1697using Control parent = new(); 1698using Control child = new() 1748using Control child = new(); 1768Assert.Throws<ArgumentOutOfRangeException>("column", () => control.SetColumn(new Control(), -2)); 1777using Control child = new(); 1806using Control parent = new(); 1807using Control child = new() 1857using Control child = new(); 1882Assert.Throws<ArgumentOutOfRangeException>("value", () => control.SetColumnSpan(new Control(), value)); 1893using Control child = new(); 1924using Control parent = new(); 1925using Control child = new() 1975using Control child = new(); 1995Assert.Throws<ArgumentOutOfRangeException>("row", () => control.SetRow(new Control(), -2)); 2004using Control child = new(); 2033using Control parent = new(); 2034using Control child = new() 2084using Control child = new(); 2108Assert.Throws<ArgumentOutOfRangeException>("value", () => control.SetRowSpan(new Control(), value)); 2114using Control extendee = new(); 2126yield return new object[] { new Control() };
System\Windows\Forms\TabPageTests.cs (6)
2613using Control parent = new(); 3814using Control parent = new() 3818using Control control = new() 3830using Control grandparent = new(); 3831using Control parent = new() 3835using Control control = new()
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (2)
28using Control control1 = new(); 29using Control control2 = new();
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
100using Control control = new();
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
494using Control parent = new(); 555using Control parent = new(); 634using Control parent = new()
System\Windows\Forms\ToolStripControlHostTests.cs (167)
18yield return new object[] { new Control() }; 21new Control 39yield return new object[] { new Control { Enabled = false } }; 40yield return new object[] { new Control { Visible = false } }; 137using Control c = new(); 156using Control c = new(); 167using Control c = new(); 186using Control c = new(); 197using Control c = new(); 216using Control c = new(); 227using Control c = new(); 247using Control c = new(); 255using Control c = new(); 266using Control c = new(); 285using Control c = new(); 321using Control c = new(); 332using Control c = new(); 349using Control c = new(); 363using Control c = new(); 380using Control c = new(); 389using Control c = new(); 408using Control c = new(); 427using Control c = new(); 438using Control c = new(); 449using Control c = new(); 468using Control c = new(); 492using Control c = new() 506using Control c = new(); 516using Control c = new(); 541using Control c = new(); 555using Control c = new(); 567using Control c = new(); 578using Control c = new(); 593using Control c = new(); 612using Control c = new(); 624using Control c = new(); 638using Control c = new(); 652using Control c = new(); 662using Control c = new(); 676using Control c = new(); 698using Control c = new() 723using Control c = new(); 743using Control c = new(); 751using Control c = new(); 762using Control c = new(); 779using Control c = new(); 815using Control c = new(); 824using Control c = new(); 841using Control c = new(); 864using Control c = new(); 891using Control c = new(); 926using Control c = new(); 936using Control c = new(); 946using Control c = new(); 966using Control c = new(); 987using Control c = new(); 999using Control c = new(); 1025using Control c = new(); 1039using Control c = new(); 1065using Control c = new(); 1074using Control c = new(); 1085using Control c = new(); 1104using Control c = new(); 1140using Control c = new(); 1151using Control c = new(); 1168using Control c = new(); 1182using Control c = new(); 1199using Control c = new(); 1220using Control c = new(); 1242using Control c = new(); 1262using Control c = new(); 1273using Control c = new(); 1295using Control c = new(); 1317using Control c = new(); 1346using Control c = new(); 1387using Control c = new(); 1455using Control c = new(); 1530using Control c = new(); 1546using Control c = new(); 1557using Control c = new(); 1577using Control c = new(); 1596using Control c = new(); 1633using Control c = new(); 1642using Control c = new(); 1671using Control c = new(); 1685using Control c = new(); 1714using Control c = new(); 1725using Control c = new(); 1747using Control c = new(); 1770using Control c = new(); 1816using Control c = new(); 1837using Control c = new(); 1858using Control c = new(); 1880using Control c = new(); 1916using Control c = new(); 1945using Control c = new(); 1968using Control c = new(); 1986using Control c = new(); 2007using Control c = new(); 2026using Control c = new(); 2046using Control c = new(); 2068using Control c = new(); 2087using Control c = new(); 2107using Control c = new(); 2127using Control c = new(); 2159using Control c = new(); 2178using Control c = new(); 2204using Control c = new() 2228using Control c = new(); 2249using Control c = new(); 2268using Control c = new(); 2305using Control c = new(); 2323using Control c = new(); 2340using Control c = new(); 2356using Control c = new(); 2365using Control c = new(); 2385using Control c = new(); 2406using Control c = new(); 2436using Control c = new(); 2472using Control c = new(); 2510using Control c = new(); 2530using Control c = new(); 2548using Control c = new(); 2563using Control c = new(); 2575using Control c = new(); 2617using Control c = new(); 2659using Control c = new(); 2691using Control c = new(); 2701using Control c = new(); 2721using Control c = new() 2736using Control c = new() 2754using Control c = new(); 2768using Control c = new() 2792using Control c = new(); 2806using Control c = new(); 2831using Control c = new(); 2856using Control c = new() 2874using Control c = new(); 2899using Control c = new(); 2924using Control c = new(); 2949using Control c = new(); 2962using Control c = new(); 2987using Control c = new(); 3012using Control c = new(); 3057using Control c = new(); 3076using Control c = new(); 3100using Control c = new(); 3169using Control controlParent = new(); 3170using Control c = new() 3244using Control c = new(); 3265using Control c = new(); 4136using Control c = new(); 4145using Control c = new(); 4170using Control c = new(); 4199using Control c = new(); 4240using Control c = new(); 4256using Control c = new(); 4300using Control c = new(); 4315using Control c = new(); 4356using Control c = new(); 4388using Control c = new(); 4411using Control c = new(); 4421using Control c = new(); 4444using Control c = new(); 4455using Control c = new(); 4489using Control c = new(); 4525using Control c = new();
System\Windows\Forms\ToolStripDropDownTests.cs (19)
701using Control parent = new(); 1323using Control parent = new() 1355using Control parent = new() 1485using Control parent = new() 2327using Control sourceControl = new() 2359using Control sourceControl = new() 2910using Control parent = new(); 3090using Control sourceControl = new() 3371using Control sourceControl = new() 3430using Control sourceControl = new() 4136yield return new object[] { true, new LayoutEventArgs(new Control(), "affectedProperty"), 2 }; 4140yield return new object[] { false, new LayoutEventArgs(new Control(), "affectedProperty"), 1 }; 4186yield return new object[] { autoSize, new LayoutEventArgs(new Control(), "affectedProperty") }; 4329yield return new object[] { true, new LayoutEventArgs(new Control(), "affectedProperty"), 2, 3 }; 4333yield return new object[] { false, new LayoutEventArgs(new Control(), "affectedProperty"), 1, 1 }; 4494yield return new object[] { true, new LayoutEventArgs(new Control(), "affectedProperty"), 2, 3 }; 4498yield return new object[] { false, new LayoutEventArgs(new Control(), "affectedProperty"), 1, 1 }; 4989using Control control = new(); 5021using Control control = new();
System\Windows\Forms\ToolStripTests.cs (12)
912using Control parent = new(); 1084using Control parent = new() 1401using Control parent = new() 1874using Control parent = new() 1905using Control parent = new() 2455using Control parent = new(); 2919using Control parent = new(); 5031yield return new object[] { new ControlEventArgs(new Control()) }; 5910Control control = new() 5958Control control = new() 6160using Control parent = new() 6919using Control parent = new();
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
34Control control = new();
System\Windows\Forms\ToolTipTests.cs (8)
622yield return new object[] { new Control(), true }; 636yield return new object[] { new Control() }; 650using Control control = new(); 673using Control control = new(); 694using Control control = new(); 721using Control control = new(); 749using Control control = new(); 807using Control topLevelControl = new();
System\Windows\Forms\UpDownBaseTests.cs (1)
1964yield return new object[] { borderStyle, rightToLeft, upDownAlign, new LayoutEventArgs(new Control(), "affectedProperty") };
System\Windows\Forms\UserControlTests.cs (14)
312using Control parent = new(); 360using Control parent = new(); 467_layoutEngine = new Control().LayoutEngine; 518using Control parent = new(); 1260using Control child1 = new(); 1261using Control grandchild1 = new(); 1264using Control grandchild2 = new(); 1486using Control child1 = new(); 1487using Control grandchild1 = new(); 1490using Control grandchild2 = new(); 1720using Control child1 = new(); 1721using Control child2 = new(); 1750using Control child1 = new(); 1751using Control child2 = new();
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (3)
354using Control childControl = new(); 381using Control childControl = new(); 392using Control childControl = new();
System\Windows\Forms\WebBrowserTests.cs (136)
159using Control parent = new(); 187using Control parent = new(); 226using Control parent = new(); 240using Control parent = new(); 252using Control parent = new(); 290using Control parent = new(); 326using Control parent = new(); 339using Control parent = new(); 351using Control parent = new(); 371using Control parent = new(); 396using Control parent = new(); 410using Control parent = new(); 438using Control parent = new(); 454using Control parent = new(); 476using Control parent = new(); 488using Control parent = new(); 509using Control parent = new(); 523using Control parent = new(); 544using Control parent = new(); 556using Control parent = new(); 568using Control parent = new(); 593using Control parent = new(); 605using Control parent = new(); 626using Control parent = new(); 640using Control parent = new(); 661using Control parent = new(); 673using Control parent = new(); 707using Control parent = new(); 730using Control parent = new(); 829using Control parent = new(); 841using Control parent = new(); 862using Control parent = new(); 879using Control parent = new(); 898using Control parent = new(); 910using Control parent = new(); 931using Control parent = new(); 945using Control parent = new(); 965using Control parent = new(); 977using Control parent = new(); 998using Control parent = new(); 1012using Control parent = new(); 1031using Control parent = new(); 1043using Control parent = new(); 1064using Control parent = new(); 1107using Control parent = new(); 1121using Control parent = new(); 1140using Control parent = new(); 1152using Control parent = new(); 1173using Control parent = new(); 1187using Control parent = new(); 1199using Control parent = new(); 1237using Control parent = new(); 1290using Control parent = new(); 1417using Control parent = new(); 1436using Control parent = new() 1458using Control parent = new(); 1478using Control parent = new(); 1497using Control parent = new() 1519using Control parent = new(); 1594using Control parent = new(); 1608using Control parent = new(); 1627using Control parent = new(); 1639using Control parent = new(); 1660using Control parent = new(); 1674using Control parent = new(); 1686using Control parent = new(); 1724using Control parent = new(); 1758using Control parent = new(); 1771using Control parent = new(); 1809using Control parent = new(); 1845using Control parent = new(); 1859using Control parent = new(); 1878using Control parent = new(); 1890using Control parent = new(); 1911using Control parent = new(); 1925using Control parent = new(); 1944using Control parent = new(); 1956using Control parent = new(); 1968using Control parent = new(); 2063using Control parent = new(); 2094using Control parent = new(); 2106using Control parent = new(); 2118using Control parent = new(); 2276using Control parent = new(); 2356using Control parent = new(); 2383using Control parent = new(); 2441using Control parent = new(); 2461using Control parent = new(); 2485using Control parent = new(); 2572using Control parent = new(); 2675using Control parent = new(); 2719using Control parent = new(); 2864using Control parent = new(); 2885using Control parent = new(); 2965using Control parent = new(); 2987using Control parent = new(); 3002using Control parent = new(); 3080using Control parent = new(); 3102using Control parent = new(); 3117using Control parent = new(); 3129using Control parent = new(); 3151using Control parent = new(); 3166using Control parent = new(); 3178using Control parent = new(); 3190using Control parent = new(); 3279using Control parent = new(); 3302using Control parent = new(); 3397using Control parent = new(); 3420using Control parent = new(); 3468using Control parent = new(); 3484using Control parent = new(); 3602Control parent = new(); 3642using Control parent = new(); 3654using Control parent = new(); 3919using Control parent = new(); 3941using Control parent = new(); 3956using Control parent = new(); 4014using Control parent = new(); 4086using Control parent = new(); 4103using Control parent = new(); 4163using Control parent = new(); 4221using Control parent = new(); 4244using Control parent = new(); 4259using Control parent = new(); 4281using Control parent = new(); 4296using Control parent = new(); 4318using Control parent = new(); 4333using Control parent = new(); 4355using Control parent = new(); 4370using Control parent = new(); 4392using Control parent = new(); 4407using Control parent = new(); 4429using Control parent = new(); 4444using Control parent = new(); 4523using Control control = new(); 4597using Control control = new();
TextBoxBaseTests.cs (10)
285using Control parent = new(); 579using Control parent = new(); 2006using Control parent = new(); 2065using Control parent = new(); 3725using Control parent = new(); 3775using Control parent = new(); 5861using Control parent = new(); 6040using Control parent = new(); 6972using Control control = new(); 7053using Control control = new();
WebBrowserBaseTests.cs (2)
237using Control parent = new(); 812using Control parent = new()
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
145new(new Control(), "affectedProperty")
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
65: base()