2074 references to Control
InteractiveHost32 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
42
control = new
Control
();
InteractiveHost64 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
42
control = new
Control
();
Microsoft.VisualBasic.Forms.Tests (4)
System\Windows\Forms\CompilerServices.TestVbHost.vb (1)
16
Private ReadOnly _testControl As New
Control
()
System\Windows\Forms\ControlInvokeTests.vb (3)
22
Using _control As New
Control
53
Using _control As New
Control
83
Using _control As New
Control
System.Windows.Forms (19)
System\Windows\Forms\ActiveX\AxHost.cs (1)
180
:
base
()
System\Windows\Forms\Control.cs (1)
399
public Control(Control? parent, string? text) :
this
()
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
110
public DateTimePicker() :
base
()
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
28
public GroupBox() :
base
()
System\Windows\Forms\Controls\Labels\Label.cs (1)
63
public Label() :
base
()
System\Windows\Forms\Controls\ListView\ListView.cs (1)
214
public ListView() :
base
()
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
133
public MonthCalendar() :
base
()
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
38
public ProgressBar() :
base
()
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
117
:
base
()
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
47
public Splitter() :
base
()
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
80
:
base
()
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
89
internal TextBoxBase() :
base
()
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
52
public TrackBar() :
base
()
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
155
:
base
()
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
33
internal UpDownButtons(UpDownBase parent) :
base
()
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
70
internal WebBrowserBase(string clsidString) :
base
()
System\Windows\Forms\MDI\MDIClient.cs (1)
29
public MdiClient() :
base
()
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
58
public ScrollableControl() :
base
()
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
32
public 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)
183
private Control DropSource => _dropSource ??= new
Control
();
System\Windows\Forms\Design\SelectionUIService.cs (1)
60
public SelectionUIService(IDesignerHost host) :
base
()
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
41
_dropSource ??= new
Control
();
System.Windows.Forms.Design.Tests (75)
ControlDesignerTests.cs (4)
199
using Control childControl =
new
();
216
using Control childControl =
new
();
338
{ "Parent", new
Control
() }
358
{ nameof(mockParentDesigner.Object.Component), new
Control
() }
SplitContainerDesignerTests.cs (1)
45
using Control control =
new
();
System\ComponentModel\Design\ByteViewerTests.cs (14)
312
yield return new object[] { new LayoutEventArgs(new
Control
(), null) };
313
yield return new object[] { new LayoutEventArgs(new
Control
(), string.Empty) };
314
yield return new object[] { new LayoutEventArgs(new
Control
(), "ChildIndex") };
315
yield return new object[] { new LayoutEventArgs(new
Control
(), "Visible") };
316
yield return new object[] { new LayoutEventArgs(new
Control
(), "Items") };
317
yield return new object[] { new LayoutEventArgs(new
Control
(), "Rows") };
318
yield return new object[] { new LayoutEventArgs(new
Control
(), "Columns") };
319
yield return new object[] { new LayoutEventArgs(new
Control
(), "RowStyles") };
320
yield return new object[] { new LayoutEventArgs(new
Control
(), "ColumnStyles") };
321
yield return new object[] { new LayoutEventArgs(new
Control
(), "TableIndex") };
322
yield return new object[] { new LayoutEventArgs(new
Control
(), "GrowStyle") };
323
yield return new object[] { new LayoutEventArgs(new
Control
(), "CellBorderStyle") };
324
yield return new object[] { new LayoutEventArgs(new
Control
(), "LayoutSettings") };
325
yield return new object[] { new LayoutEventArgs(new
Control
(), "NoSuchProperty") };
System\Windows\Forms\Design\ControlCommandSetTests.cs (4)
30
_baseControl =
new
();
75
using Control component =
new
();
94
using Control childComponent =
new
();
95
using Control parentComponent =
new
();
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (13)
16
_control =
new
();
60
using Control control =
new
();
68
using Control control1 =
new
();
69
using Control control2 =
new
();
78
using Control control =
new
();
105
using Control control =
new
();
113
using Control control =
new
();
114
using Control anotherControl =
new
();
124
using Control control =
new
();
133
using Control control =
new
();
142
using Control control =
new
();
150
using Control control =
new
();
159
using Control control =
new
();
System\Windows\Forms\Design\ControlDesignerAccessibleObjectTests.cs (2)
90
Control control =
new
() { Name = "TestControl" };
101
Control control =
new
();
System\Windows\Forms\Design\DesignerFrameTests.cs (2)
58
Control control =
new
();
119
Control control =
new
();
System\Windows\Forms\Design\DesignerToolStripControlHostTests.cs (1)
11
using Control control =
new
();
System\Windows\Forms\Design\EventHandlerServiceTests.cs (1)
16
using Control focusWnd =
new
();
System\Windows\Forms\Design\FlowLayoutPanelDesignerTests.cs (5)
43
using Control childControl =
new
() { Site = new Mock<ISite>().Object };
55
using Control childControl =
new
() { Site = new Mock<ISite>().Object };
131
using Control control =
new
()
191
using Control control1 =
new
();
192
using Control control2 =
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)
16
using Control control =
new
();
30
using Control control =
new
();
48
using Control control =
new
();
62
using Control control =
new
();
System\Windows\Forms\Design\ParentControlDesignerTests.cs (1)
21
_control =
new
();
System\Windows\Forms\Design\SelectionUIHandlerTests.cs (1)
23
_control =
new
();
System\Windows\Forms\Design\StatusCommandUITests.cs (3)
45
using Control control =
new
() { Bounds = new(10, 20, 30, 40) };
81
using Control control =
new
() { Bounds = new(10, 20, 30, 40) };
106
using Control control =
new
() { Bounds = new(10, 20, 30, 40) };
System\Windows\Forms\Design\TabOrderTests.cs (1)
163
accessor._ctlHover = new
Control
();
System\Windows\Forms\Design\ToolStripAdornerWindowServiceTests.cs (3)
32
_control =
new
();
116
Control parentControl =
new
() { Left = 10, Top = 20 };
117
Control control =
new
() { Parent = parentControl, Left = 30, Top = 40 };
System\Windows\Forms\Design\ToolStripContainerActionListTests.cs (8)
44
using Control rootComponent =
new
();
53
using Control rootComponent =
new
();
54
using Control childControl1 =
new
();
55
using Control childControl2 =
new
();
75
using Control rootComponent =
new
();
76
using Control inheritedControl =
new
();
192
using Control rootComponent =
new
();
193
using Control childControl =
new
();
System\Windows\Forms\Design\ToolStripContainerDesignerTests.cs (1)
66
using Control control =
new
();
System\Windows\Forms\Design\ToolStripEditorManagerTests.cs (1)
45
_editorControl =
new
();
SystemDesignMetadataReader.cs (1)
19
IDesigner designer = designSurface.CreateDesigner(new
Control
(), true);
TestControlDesigner.Mocks.cs (1)
12
internal readonly Control _control =
new
();
System.Windows.Forms.Interop.Tests (1)
AccessibleObjectTests.cs (1)
490
using Control control =
new
();
System.Windows.Forms.Tests (1967)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (8)
546
using Control first =
new
();
547
using Control second =
new
();
574
using Control control =
new
();
633
using Control control =
new
();
699
using Control control =
new
();
718
using Control control =
new
();
737
using Control control =
new
();
2163
using Control control =
new
();
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (54)
63
using Control ownerControl =
new
();
87
using Control ownerControl =
new
();
128
using Control ownerControl =
new
();
147
using Control ownerControl =
new
();
166
using Control ownerControl =
new
();
181
using Control ownerControl =
new
();
200
using Control ownerControl =
new
()
212
using Control ownerControl =
new
()
231
using Control ownerControl =
new
()
258
using Control control =
new
();
266
using Control ownerControl =
new
();
285
using Control ownerControl =
new
();
355
using Control parent =
new
();
436
using Control previousControl =
new
()
461
using Control previousControl =
new
()
486
using Control previousControl =
new
()
555
using Control parent =
new
();
676
using Control previousControl =
new
()
702
using Control previousControl =
new
()
728
using Control previousControl =
new
()
747
using Control ownerControl =
new
();
836
using Control ownerControl =
new
()
848
using Control ownerControl =
new
();
866
using Control ownerControl =
new
();
882
using Control ownerControl =
new
();
890
using Control ownerControl =
new
();
898
using Control child =
new
();
899
using Control ownerControl =
new
();
911
using Control ownerControl =
new
();
919
using Control ownerControl =
new
();
948
using Control ownerControl =
new
();
993
using Control ownerControl =
new
();
1004
using Control ownerControl =
new
();
1013
using Control ownerControl =
new
();
1022
using Control ownerControl =
new
();
1033
using Control ownerControl =
new
();
1044
using Control ownerControl =
new
();
1060
using Control ownerControl =
new
();
1070
using Control ownerControl =
new
();
1089
using Control ownerControl =
new
();
1107
using Control ownerControl =
new
();
1115
using Control ownerControl =
new
();
1130
using Control ownerControl =
new
();
1149
using Control ownerControl =
new
();
1166
using Control ownerControl =
new
();
1177
using Control ownerControl =
new
();
1186
using Control ownerControl =
new
();
1197
using Control child =
new
();
1198
using Control ownerControl =
new
();
1217
using Control ownerControl =
new
();
1226
using Control control =
new
();
1415
using Control control =
new
();
1619
using Control ownerControl =
new
() { Name = "test name" };
1637
using Control control =
new
();
System\Windows\Forms\AccessibleObjects\ErrorProvider.ControlItem.ControlItemAccessibleObjectTests.cs (11)
33
using Control control =
new
();
45
using Control parentControl =
new
();
46
using Control control =
new
();
65
using Control control =
new
();
80
using Control control =
new
();
119
using Control control =
new
();
146
using Control control =
new
();
186
using Control control =
new
();
213
using Control control =
new
();
228
using Control control =
new
();
261
using Control control =
new
();
System\Windows\Forms\AccessibleObjects\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObjectTests.cs (6)
92
using Control control =
new
();
106
using Control control =
new
();
123
using Control control =
new
();
145
using Control control =
new
();
163
using Control control =
new
();
182
using Control control =
new
();
System\Windows\Forms\AccessibleObjects\ErrorProviderAccessibleObjectTests.cs (2)
29
_control1 = new
Control
();
33
_control2 = new
Control
();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (5)
22
using Control control =
new
();
34
using Control control =
new
();
46
using Control control =
new
();
59
using Control control =
new
();
72
using Control control =
new
();
System\Windows\Forms\Application.ParkingWindowTests.cs (5)
77
using Control control =
new
();
112
using Control control =
new
();
145
using Control control =
new
();
178
using Control control =
new
();
189
using Control systemControl =
new
();
System\Windows\Forms\ApplicationTests.cs (1)
249
using Control control =
new
();
System\Windows\Forms\AxHostTests.cs (11)
351
Control parent =
new
()
390
Control parent =
new
();
468
Control child1 =
new
();
469
Control child2 =
new
();
492
Control child1 =
new
()
496
Control child2 =
new
()
1306
using Control parent =
new
();
1323
using Control parent =
new
();
1352
using Control parent =
new
();
1823
using Control parent =
new
();
2120
using Control parent =
new
();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
271
{ new
Control
(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\BindingContextTests.cs (1)
992
Control control =
new
();
System\Windows\Forms\ButtonBaseTests.cs (22)
1139
using Control parent =
new
();
1310
using Control parent =
new
();
1550
using Control parent =
new
();
1717
using Control parent =
new
();
1887
using Control parent =
new
();
1991
using Control parent =
new
();
2803
yield return new object[] { enabled, visible, image, new
Control
() };
2867
using Control oldParent =
new
();
2891
using Control parent =
new
();
2992
using Control parent =
new
();
3077
using Control parent =
new
();
3172
using Control parent =
new
();
3317
using Control parent =
new
();
3433
using Control parent =
new
();
3551
using Control parent =
new
();
3660
using Control parent =
new
();
3761
using Control parent =
new
();
3858
using Control parent =
new
();
3971
using Control parent =
new
();
4087
using Control parent =
new
();
7190
using Control parent =
new
();
7292
using Control parent =
new
();
System\Windows\Forms\ButtonTests.cs (10)
299
using Control parent =
new
();
447
using Control parent =
new
();
793
using Control parent =
new
();
888
using Control parent =
new
();
1937
using Control parent =
new
()
2019
using Control parent =
new
()
2924
using Control parent =
new
();
3026
using Control parent =
new
();
3121
using Control parent =
new
()
3199
using Control parent =
new
()
System\Windows\Forms\CommonDialogTests.cs (4)
155
using Control owner =
new
();
176
using Control owner =
new
();
190
using Control owner =
new
();
212
using Control owner =
new
();
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (1)
159
using Control control =
new
();
System\Windows\Forms\ContainerControlTests.cs (20)
152
using Control child =
new
();
153
Control grandchild =
new
();
178
Assert.Throws<ArgumentException>("value", () => control.ActiveControl = new
Control
());
202
using Control child =
new
();
564
using Control child =
new
();
615
using Control child =
new
();
796
using Control child1 =
new
();
797
using Control grandchild1 =
new
();
800
using Control grandchild2 =
new
();
1022
using Control child1 =
new
();
1023
using Control grandchild1 =
new
();
1026
using Control grandchild2 =
new
();
1256
using Control child1 =
new
();
1257
using Control child2 =
new
();
1286
using Control child1 =
new
();
1287
using Control child2 =
new
();
1317
using Control control =
new
();
1342
using Control control =
new
();
1367
using Control control =
new
();
1383
using Control control =
new
();
System\Windows\Forms\Control.ActiveXImplTests.cs (1)
17
using Control control =
new
();
System\Windows\Forms\ControlBindingsCollectionTests.cs (26)
19
Control control =
new
();
40
using Control control =
new
();
59
using Control control =
new
();
71
using Control control =
new
();
126
using Control control =
new
();
143
using Control control =
new
();
160
using Control control =
new
();
177
using Control control =
new
();
194
using Control control =
new
();
211
using Control control =
new
();
228
using Control control =
new
();
241
using Control control =
new
();
255
using Control control =
new
();
272
using Control control =
new
();
280
using Control control =
new
();
291
using Control control1 =
new
();
292
using Control control2 =
new
();
304
using Control control =
new
();
324
using Control control =
new
();
340
using Control control =
new
();
352
using Control control =
new
();
365
using Control control1 =
new
();
366
using Control control2 =
new
();
382
using Control control =
new
();
400
using Control control =
new
();
413
using Control control =
new
();
System\Windows\Forms\ControlTests.ControlCollection.cs (202)
19
using Control owner =
new
();
36
using Control owner =
new
();
37
using Control control1 =
new
();
38
using Control control2 =
new
();
110
using Control owner =
new
();
111
using Control control1 =
new
();
112
using Control control2 =
new
();
187
using Control owner1 =
new
();
188
using Control owner2 =
new
();
189
using Control control =
new
();
226
using Control owner =
new
();
331
using Control owner =
new
();
332
using Control control =
new
()
360
using Control owner =
new
();
361
using Control control =
new
()
389
using Control owner =
new
();
390
using Control control =
new
()
428
using Control owner =
new
();
429
using Control control =
new
()
467
using Control owner =
new
();
468
using Control child1 =
new
();
469
using Control child2 =
new
();
545
using Control owner =
new
();
546
using Control control =
new
();
588
using Control owner =
new
();
589
using Control control =
new
();
643
using Control owner =
new
();
644
using Control control =
new
();
793
using Control owner =
new
();
794
using Control control =
new
();
946
using Control owner =
new
();
1019
using Control owner =
new
();
1113
using Control owner =
new
();
1128
owner = new
Control
();
1134
using Control control =
new
();
1152
control = new
Control
();
1158
using Control owner =
new
();
1171
using Control owner =
new
();
1179
using Control parent =
new
();
1180
using Control owner =
new
()
1191
using Control grandparent =
new
();
1192
using Control parent =
new
()
1196
using Control owner =
new
()
1207
using Control owner =
new
();
1208
using Control child1 =
new
();
1209
using Control child2 =
new
();
1210
using Control child3 =
new
();
1279
using Control owner =
new
();
1287
using Control owner =
new
();
1288
using Control child1 =
new
();
1289
using Control child2 =
new
();
1290
using Control child3 =
new
();
1337
using Control owner =
new
();
1338
using Control child1 =
new
();
1339
using Control child2 =
new
();
1340
using Control child3 =
new
();
1380
using Control owner =
new
();
1382
using Control child1 =
new
();
1383
using Control child2 =
new
();
1389
Assert.False(collection.Contains(new
Control
()));
1405
using Control owner =
new
();
1406
using Control child1 =
new
()
1410
using Control child2 =
new
()
1414
using Control child3 =
new
()
1437
using Control owner =
new
();
1438
using Control child1 =
new
()
1442
using Control child2 =
new
()
1446
using Control child3 =
new
()
1450
using Control grandchild1 =
new
()
1454
using Control grandchild2 =
new
()
1458
using Control grandchild3 =
new
()
1490
using Control owner =
new
();
1491
using Control child1 =
new
()
1495
using Control child2 =
new
()
1499
using Control child3 =
new
()
1516
using Control owner =
new
();
1525
using Control owner =
new
();
1527
using Control child1 =
new
();
1528
using Control child2 =
new
();
1539
using Control owner =
new
();
1541
using Control child1 =
new
();
1542
using Control child2 =
new
();
1553
using Control owner =
new
();
1555
using Control child1 =
new
();
1556
using Control child2 =
new
();
1562
Assert.Equal(-1, collection.GetChildIndex(new
Control
(), throwException: false));
1568
yield return new object[] { new
Control
() };
1576
using Control owner =
new
();
1578
using Control child1 =
new
();
1579
using Control child2 =
new
();
1590
using Control owner =
new
();
1611
using Control owner =
new
();
1612
using Control child1 =
new
();
1613
using Control child2 =
new
();
1614
using Control child3 =
new
();
1650
using Control owner =
new
();
1651
using Control child =
new
();
1673
using Control owner =
new
();
1674
using Control child1 =
new
();
1675
using Control child2 =
new
();
1676
using Control child3 =
new
();
1706
using Control owner =
new
();
1707
using Control child1 =
new
();
1708
using Control child2 =
new
();
1709
using Control child3 =
new
();
1746
using Control owner =
new
();
1748
using Control child1 =
new
();
1749
using Control child2 =
new
();
1755
Assert.Equal(-1, collection.IndexOf(new
Control
()));
1771
using Control owner =
new
();
1772
using Control child1 =
new
()
1776
using Control child2 =
new
()
1780
using Control child3 =
new
()
1804
using Control owner =
new
();
1805
using Control child1 =
new
()
1809
using Control child2 =
new
()
1813
using Control child3 =
new
()
1840
using Control owner =
new
();
1841
using Control child1 =
new
()
1845
using Control child2 =
new
()
1849
using Control child3 =
new
()
1870
using Control owner =
new
();
1871
using Control child1 =
new
();
1872
using Control child2 =
new
();
1873
using Control child3 =
new
();
1892
using Control owner =
new
();
1903
using Control owner =
new
();
1904
using Control child =
new
();
1915
using Control owner =
new
();
1916
using Control child1 =
new
();
1917
using Control child2 =
new
();
1978
using Control child1 =
new
();
1979
using Control child2 =
new
();
2044
using Control owner =
new
();
2045
using Control child1 =
new
();
2046
using Control child2 =
new
();
2120
using Control owner =
new
();
2121
using Control child1 =
new
();
2122
using Control child2 =
new
();
2211
using Control owner1 =
new
();
2212
using Control owner2 =
new
();
2213
using Control control1 =
new
();
2214
using Control control2 =
new
();
2215
using Control control3 =
new
();
2239
using Control owner =
new
();
2240
using Control control =
new
();
2285
using Control owner =
new
();
2286
using Control control =
new
();
2343
using Control owner =
new
();
2344
using Control control =
new
();
2487
using Control owner =
new
();
2488
using Control control =
new
();
2619
using Control owner =
new
();
2683
using Control owner =
new
();
2769
using Control owner =
new
();
2770
using Control child1 =
new
();
2771
using Control child2 =
new
();
2847
using Control owner =
new
();
2848
using Control child1 =
new
();
2849
using Control child2 =
new
();
2905
using Control owner =
new
();
2916
using Control owner =
new
();
2917
using Control child =
new
();
2930
using Control owner =
new
();
2931
using Control child1 =
new
()
2935
using Control child2 =
new
()
2939
using Control child3 =
new
()
3006
using Control owner =
new
();
3007
using Control child1 =
new
()
3011
using Control child2 =
new
()
3015
using Control child3 =
new
()
3037
using Control owner =
new
();
3038
using Control child1 =
new
();
3039
using Control child2 =
new
();
3040
using Control child3 =
new
();
3105
using Control owner =
new
();
3106
using Control child1 =
new
();
3107
using Control child2 =
new
();
3108
using Control child3 =
new
();
3160
using Control owner =
new
();
3161
using Control child1 =
new
();
3162
using Control child2 =
new
();
3163
using Control child3 =
new
();
3239
using Control owner =
new
();
3240
using Control child1 =
new
();
3241
using Control child2 =
new
();
3242
using Control child3 =
new
();
3333
using Control owner =
new
();
3335
using Control child2 =
new
();
3336
using Control child3 =
new
();
3413
using Control owner =
new
();
3421
using Control owner =
new
();
3422
using Control child =
new
();
3433
using Control owner =
new
();
3434
using Control control1 =
new
();
3435
using Control control2 =
new
();
3507
using Control owner =
new
();
3516
using Control owner =
new
();
3517
using Control child1 =
new
();
3518
using Control child2 =
new
();
3578
using Control owner =
new
();
3590
_layoutEngine = new
Control
().LayoutEngine;
System\Windows\Forms\ControlTests.cs (7)
291
yield return new object[] { new
Control
(), string.Empty, string.Empty };
292
yield return new object[] { new
Control
(), "text", "text" };
387
yield return new object[] { new
Control
(), string.Empty, 0, 0, 0, 0, string.Empty };
388
yield return new object[] { new
Control
(), "text", 1, 2, 3, 4, "text" };
573
using Control parent =
new
();
598
using Control parent =
new
();
1125
public SubControl() :
base
()
System\Windows\Forms\ControlTests.Handlers.cs (53)
133
using Control child1 =
new
();
134
using Control child2 =
new
();
180
using Control child1 =
new
()
184
using Control child2 =
new
()
328
using Control child1 =
new
();
329
using Control child2 =
new
();
379
using Control child1 =
new
()
383
using Control child2 =
new
()
509
using Control child1 =
new
();
510
using Control child2 =
new
();
556
using Control child1 =
new
()
560
using Control child2 =
new
()
657
using Control child1 =
new
();
658
using Control child2 =
new
();
706
using Control child1 =
new
()
710
using Control child2 =
new
()
1015
yield return new object[] { new ControlEventArgs(new
Control
()) };
1107
using Control child1 =
new
();
1108
using Control child2 =
new
();
1156
using Control child1 =
new
()
1160
using Control child2 =
new
()
1504
using Control child1 =
new
();
1505
using Control child2 =
new
();
1551
using Control child1 =
new
()
1555
using Control child2 =
new
()
1739
using Control child1 =
new
();
1740
using Control child2 =
new
();
1788
using Control child1 =
new
()
1792
using Control child2 =
new
()
1960
using Control child1 =
new
();
1961
using Control child2 =
new
();
2007
using Control child1 =
new
()
2011
using Control child2 =
new
()
2619
Control parent =
new
();
2679
Control parent =
new
();
3137
using Control parent =
new
();
3891
Control control =
new
()
3932
Control control =
new
()
4109
using Control parent =
new
()
5031
using Control child1 =
new
();
5032
using Control child2 =
new
()
5081
using Control child1 =
new
()
5085
using Control child2 =
new
()
5362
using Control child1 =
new
();
5363
using Control child2 =
new
();
5580
using Control parent =
new
();
5667
using Control parent =
new
();
5721
using Control grandchild1 =
new
();
5722
using Control child1 =
new
();
5723
using Control child2 =
new
();
5797
using Control grandchild1 =
new
();
5798
using Control child1 =
new
()
5802
using Control child2 =
new
()
System\Windows\Forms\ControlTests.Internals.cs (39)
16
using Control control =
new
();
28
using Control control =
new
()
40
using Control control =
new
()
55
using Control control =
new
()
74
using Control control =
new
()
93
using Control control =
new
();
111
using Control control =
new
()
152
using Control control =
new
()
164
using Control control =
new
()
176
using Control control =
new
();
188
using Control control =
new
();
200
using Control control =
new
();
208
using Control control =
new
();
209
Control parent =
new
();
220
using Control control =
new
();
222
Control parent =
new
();
232
using Control control =
new
();
241
using Control control =
new
()
253
using Control control =
new
()
265
using Control control =
new
();
266
Control parent =
new
();
277
using Control control =
new
();
287
using Control control =
new
();
288
Control first =
new
()
292
Control second =
new
()
296
Control third =
new
()
322
using Control control =
new
();
323
Control first =
new
()
327
Control second =
new
()
331
Control third =
new
()
351
using Control control =
new
();
352
Control first =
new
()
356
Control second =
new
()
360
Control third =
new
()
379
using Control control =
new
();
380
Control first =
new
()
384
Control second =
new
()
388
Control third =
new
()
407
using Control control =
new
();
System\Windows\Forms\ControlTests.Methods.ClipboardTests.cs (2)
33
using Control control =
new
();
43
using Control control =
new
();
System\Windows\Forms\ControlTests.Methods.cs (183)
136
using Control parent =
new
();
137
using Control child1 =
new
();
138
using Control child2 =
new
();
178
using Control parent =
new
();
179
using Control child1 =
new
();
180
using Control child2 =
new
();
233
using Control parent =
new
();
234
using Control child1 =
new
();
235
using Control child2 =
new
();
300
using Control parent =
new
();
302
using Control child2 =
new
();
505
using Control parent =
new
();
566
using Control control =
new
()
692
using Control parent =
new
();
780
using Control parent =
new
();
781
using Control control =
new
()
785
using Control child1 =
new
()
789
using Control child2 =
new
()
793
using Control grandchild1 =
new
()
797
using Control otherParent =
new
();
798
using Control otherControl =
new
()
802
using Control emptyControl =
new
();
845
using Control parent =
new
();
975
using Control control =
new
();
1020
using Control parent =
new
();
1023
using Control control =
new
()
1073
using Control control =
new
();
1074
using Control child1 =
new
();
1075
using Control child2 =
new
();
1151
using Control control =
new
();
1198
using Control control =
new
();
1818
using Control control =
new
();
1826
using Control control =
new
();
1935
using Control control =
new
();
1944
using Control control =
new
();
2062
using Control control =
new
();
2082
using Control control =
new
();
2096
using Control control =
new
();
2103
using Control grandparent =
new
();
2104
using Control parent =
new
()
2108
using Control control =
new
()
2125
using Control parent =
new
()
2129
using Control control =
new
()
2146
using Control control =
new
()
2164
using Control parent =
new
()
2168
using Control control =
new
()
2186
using Control parent =
new
()
2190
using Control control =
new
()
2207
using Control cont =
new
();
2208
using Control first =
new
()
2212
using Control second =
new
()
2216
using Control third =
new
()
2235
using Control cont =
new
();
2236
using Control first =
new
()
2240
using Control second =
new
()
2244
using Control third =
new
()
2263
using Control cont =
new
();
2264
using Control first =
new
()
2268
using Control second =
new
()
2272
using Control third =
new
()
2291
using Control cont =
new
();
2292
using Control first =
new
()
2296
using Control second =
new
()
2300
using Control third =
new
()
2329
using Control control =
new
();
2342
using Control control =
new
()
2381
using Control control =
new
()
2530
.Returns(new
Control
());
2866
using Control control =
new
()
2881
using Control control =
new
()
2957
_layoutEngine = new
Control
().LayoutEngine;
3756
using Control control =
new
();
3781
using Control control =
new
();
3807
using Control control =
new
();
3836
using Control control =
new
();
3870
using Control control =
new
();
3906
using Control control =
new
();
3939
using Control control =
new
();
3972
using Control control =
new
();
3998
using Control control =
new
();
4025
using Control control =
new
();
4060
using Control control =
new
();
4090
using Control control =
new
();
4132
using Control control =
new
();
4141
using Control control =
new
();
4153
using Control otherControl =
new
();
4277
using Control otherControlParent =
new
();
4329
using Control otherControl =
new
();
4732
using Control control =
new
();
4786
using Control parent =
new
();
4787
using Control control =
new
()
4821
using Control parent =
new
();
4915
control.PerformLayout(new
Control
(), "OtherAffectedProperty");
4919
control.PerformLayout(new
Control
(), "OtherAffectedProperty");
4938
using Control control =
new
();
4977
yield return new object[] { new
Control
(), string.Empty };
4978
yield return new object[] { new
Control
(), "AffectedProperty" };
4985
using Control control =
new
();
5041
using Control parent =
new
();
5042
using Control control =
new
()
5074
yield return new object[] { true, new
Control
(), string.Empty, 1 };
5075
yield return new object[] { true, new
Control
(), "AffectedProperty", 1 };
5078
yield return new object[] { false, new
Control
(), string.Empty, 0 };
5079
yield return new object[] { false, new
Control
(), "AffectedProperty", 0 };
5086
using Control parent =
new
();
5137
yield return new object[] { true, new
Control
(), string.Empty, 1 };
5138
yield return new object[] { true, new
Control
(), "AffectedProperty", 1 };
5141
yield return new object[] { false, new
Control
(), string.Empty, 0 };
5142
yield return new object[] { false, new
Control
(), "AffectedProperty", 0 };
5189
control.PerformLayout(new
Control
(), "OtherAffectedProperty");
5193
control.PerformLayout(new
Control
(), "OtherAffectedProperty");
5212
using Control control =
new
();
5239
control.PerformLayout(new
Control
(), "AffectedProperty");
5254
Assert.Throws<NullReferenceException>(() => control.PerformLayout(new
Control
(), "AffectedProperty"));
5332
using Control parent =
new
();
5509
using Control parent =
new
();
5562
using Control parent =
new
();
5610
using Control parent =
new
();
5710
using Control parent =
new
();
6001
using Control parent =
new
();
6209
using Control parent =
new
();
6295
using Control control =
new
();
6307
using Control control =
new
();
6348
using Control control =
new
();
6406
using Control control =
new
();
6426
using Control control =
new
();
6540
yield return new object[] { new
Control
(), string.Empty, true, 1 };
6541
yield return new object[] { new
Control
(), "AffectedProperty", true, 1 };
6544
yield return new object[] { new
Control
(), string.Empty, false, 0 };
6545
yield return new object[] { new
Control
(), "AffectedProperty", false, 0 };
6552
using Control control =
new
();
6580
using Control control =
new
();
6594
control.PerformLayout(new
Control
(), "AnotherAffectedProperty");
6610
using Control control =
new
();
6630
using Control control =
new
();
6660
using Control control =
new
();
6675
control.PerformLayout(new
Control
(), "AnotherAffectedProperty");
6691
using Control control =
new
();
6714
using Control child =
new
();
6743
using Control control =
new
();
6762
using Control child =
new
();
6789
using Control control =
new
();
6990
using Control parent =
new
();
6991
using Control child1 =
new
();
6992
using Control child2 =
new
();
7032
using Control parent =
new
();
7033
using Control child1 =
new
();
7034
using Control child2 =
new
();
7087
using Control parent =
new
();
7088
using Control child1 =
new
();
7089
using Control child2 =
new
();
7154
using Control parent =
new
();
7156
using Control child2 =
new
();
7275
using Control parent =
new
();
7648
using Control parent =
new
();
7905
using Control parent =
new
();
8505
using Control parent =
new
();
8762
using Control parent =
new
();
9302
using Control parent =
new
();
9600
using Control parent =
new
();
10086
using Control parent =
new
();
10189
using Control control =
new
()
10207
using Control control =
new
()
10238
using Control control =
new
();
10255
using Control control =
new
();
10285
using Control control =
new
();
10292
using Control control =
new
();
10304
using Control control =
new
();
11205
using Control parent =
new
();
11443
using Control parent =
new
();
11691
using Control parent =
new
();
11941
using Control parent =
new
();
12150
using Control parent =
new
();
12169
using Control parent =
new
();
12201
using Control parent =
new
();
12234
using Control parent =
new
();
12278
using Control parent =
new
();
12279
using Control child1 =
new
();
12325
using Control parent =
new
();
12514
using Control control =
new
();
12588
using Control control =
new
();
14209
using Control grandparent =
new
();
14297
using Control grandparent =
new
();
System\Windows\Forms\ControlTests.Properties.cs (362)
23
using Control control =
new
();
39
using Control control =
new
();
83
using Control control1 =
new
();
109
using Control control =
new
()
126
using Control control =
new
()
143
using Control control =
new
()
160
using Control control =
new
()
177
using Control control =
new
();
185
using Control control =
new
()
207
using Control control =
new
();
244
using Control control =
new
();
284
using Control control =
new
();
339
using Control control =
new
();
361
using Control control =
new
()
412
using Control parent =
new
();
413
using Control control =
new
()
457
using Control grandparent =
new
();
458
using Control parent =
new
()
462
using Control control =
new
()
558
using Control parent =
new
();
559
using Control control =
new
()
677
using Control grandparent =
new
();
678
using Control parent =
new
()
682
using Control control =
new
()
769
using Control control =
new
()
823
using Control parent =
new
();
824
using Control control =
new
()
871
using Control control =
new
();
906
using Control control =
new
()
921
using Control control =
new
();
948
using Control parent =
new
();
949
using Control control =
new
()
1003
using Control control =
new
()
1066
using Control control =
new
();
1109
using Control parent =
new
();
1110
using Control control =
new
()
1192
using Control control =
new
()
1231
using Control control =
new
()
1248
using Control control =
new
()
1291
using Control child1 =
new
();
1292
using Control child2 =
new
();
1293
using Control control =
new
();
1315
using Control child1 =
new
()
1319
using Control child2 =
new
()
1323
using Control control =
new
();
1351
using Control control =
new
();
1379
using Control control =
new
();
1414
using Control control =
new
();
1439
using Control child1 =
new
();
1440
using Control child2 =
new
();
1441
using Control control =
new
();
1519
using Control child1 =
new
()
1523
using Control child2 =
new
()
1527
using Control control =
new
();
1599
using Control control =
new
();
1607
using Control control =
new
();
1623
using Control control =
new
();
1639
using Control control =
new
()
1662
using Control control =
new
();
1691
using Control child1 =
new
();
1692
using Control child2 =
new
();
1693
using Control control =
new
();
1715
using Control child1 =
new
()
1719
using Control child2 =
new
()
1723
using Control control =
new
();
1742
using Control control =
new
();
1784
using Control control =
new
();
1810
using Control child1 =
new
();
1811
using Control child2 =
new
();
1812
using Control control =
new
();
1897
using Control child1 =
new
()
1901
using Control child2 =
new
()
1905
using Control control =
new
();
2075
using Control control =
new
();
2110
using Control control =
new
();
2136
using Control control =
new
();
2144
using Control parent =
new
()
2148
using Control control =
new
()
2163
using Control control =
new
()
2180
using Control control =
new
()
2197
using Control control =
new
()
2215
using Control control =
new
();
2257
using Control child1 =
new
();
2258
using Control child2 =
new
();
2259
using Control control =
new
();
2344
using Control child1 =
new
()
2348
using Control child2 =
new
()
2352
using Control control =
new
();
2695
using Control parent =
new
();
2906
using Control parent =
new
();
3049
using Control control =
new
()
3065
using Control control =
new
()
3080
using Control parent =
new
()
3085
using Control control =
new
()
3099
using Control control =
new
()
3115
using Control parent =
new
()
3120
using Control control =
new
()
3132
using Control control =
new
()
3154
using Control control =
new
();
3191
using Control control =
new
()
3213
using Control control =
new
();
3249
using Control control =
new
()
3286
yield return new object[] { new
Control
(), Size.Empty };
3328
using Control control =
new
();
3486
using Control control =
new
();
3540
using Control control =
new
()
3558
using Control control =
new
()
3576
using Control control =
new
()
3591
using Control control =
new
()
3607
using Control control =
new
();
3649
yield return new object[] { new Control.ControlCollection(new
Control
()) };
3676
using Control control =
new
();
3682
using Control child =
new
();
3696
using Control control =
new
();
3702
using Control child =
new
();
3716
using Control control =
new
()
3732
using Control parent =
new
()
3736
using Control control =
new
()
3756
using Control control =
new
()
3784
using Control parent =
new
()
3810
using Control control =
new
()
3827
using Control control =
new
();
3856
using Control child1 =
new
();
3857
using Control child2 =
new
();
3858
using Control control =
new
();
3880
using Control child1 =
new
()
3884
using Control child2 =
new
()
3888
using Control control =
new
();
3907
using Control control =
new
();
3949
using Control child1 =
new
();
3950
using Control child2 =
new
();
3951
using Control control =
new
();
4036
using Control child1 =
new
()
4040
using Control child2 =
new
()
4044
using Control control =
new
();
4128
using Control control =
new
();
4150
using Control control =
new
()
4185
using Control parent =
new
();
4186
using Control control =
new
()
4275
using Control parent =
new
();
4276
using Control control =
new
()
4332
using Control control =
new
()
4351
using Control control =
new
();
4385
using Control control =
new
()
4424
using Control control =
new
();
4506
using Control control =
new
()
4569
using Control control =
new
()
4607
using Control child1 =
new
();
4608
using Control child2 =
new
();
4609
using Control control =
new
()
4684
using Control child1 =
new
()
4688
using Control child2 =
new
()
4692
using Control control =
new
()
4768
using Control control =
new
();
4784
using Control control =
new
();
4801
using Control parent =
new
()
4805
using Control control =
new
()
4825
using Control control =
new
()
5024
using Control control =
new
();
5066
using Control child1 =
new
();
5067
using Control child2 =
new
();
5068
using Control control =
new
();
5153
using Control child1 =
new
()
5157
using Control child2 =
new
()
5161
using Control control =
new
();
5245
using Control control =
new
();
5270
using Control control =
new
();
5295
using Control control =
new
()
5312
using Control control =
new
()
5331
using Control child1 =
new
();
5332
using Control child2 =
new
();
5333
using Control control =
new
();
5355
using Control child1 =
new
()
5359
using Control child2 =
new
()
5363
using Control control =
new
();
5392
using Control control =
new
();
5420
using Control control =
new
();
5455
using Control control =
new
();
5480
using Control child1 =
new
();
5481
using Control child2 =
new
();
5482
using Control control =
new
();
5560
using Control child1 =
new
()
5564
using Control child2 =
new
()
5568
using Control control =
new
();
5641
using Control control =
new
();
5657
using Control control =
new
();
5672
using Control cont =
new
();
5972
using Control parent =
new
();
6207
using Control parent =
new
();
6365
using Control control =
new
()
6382
using Control control =
new
();
6410
using Control control =
new
();
6446
using Control control =
new
();
6560
using Control control =
new
();
6573
using Control control =
new
();
6587
using Control control =
new
()
6608
using Control control =
new
();
6639
using Control control =
new
();
6742
using Control parent =
new
();
6936
using Control parent =
new
();
7089
using Control control =
new
();
7147
using Control control =
new
();
7221
using Control parent =
new
();
7419
using Control parent =
new
();
7575
using Control control =
new
();
7599
using Control control =
new
();
7622
using Control control =
new
();
7675
yield return new object[] { new
Control
(), new Padding(3) };
7709
using Control control =
new
();
7729
using Control parent =
new
();
7730
using Control control =
new
()
7759
using Control control =
new
();
7798
using Control parent =
new
();
7799
using Control control =
new
()
7853
using Control control =
new
();
7869
using Control control =
new
();
7883
yield return new object[] { new
Control
(), Size.Empty };
7931
using Control control =
new
();
7953
using Control control =
new
()
7999
using Control control =
new
()
8030
using Control control =
new
()
8055
using Control control =
new
()
8102
using Control parent =
new
();
8103
using Control control =
new
()
8157
using Control parent =
new
();
8158
using Control control =
new
()
8200
using Control control =
new
();
8235
using Control control =
new
()
8273
using Control control =
new
()
8311
using Control parent =
new
();
8312
using Control control =
new
()
8378
using Control parent =
new
();
8379
using Control control =
new
()
8446
using Control control =
new
();
8470
using Control control =
new
();
8492
yield return new object[] { new
Control
(), Size.Empty };
8540
using Control control =
new
();
8584
using Control control =
new
()
8637
using Control control =
new
()
8668
using Control control =
new
()
8699
using Control control =
new
()
8746
using Control parent =
new
();
8747
using Control control =
new
()
8807
using Control parent =
new
();
8808
using Control control =
new
()
8872
using Control control =
new
();
8929
using Control control =
new
()
8995
using Control control =
new
()
9054
using Control parent =
new
();
9055
using Control control =
new
()
9142
using Control parent =
new
();
9143
using Control control =
new
()
9216
using Control control =
new
();
9240
using Control control =
new
();
9302
using Control control =
new
()
9318
using Control control =
new
()
9335
using Control control =
new
()
9370
using Control control =
new
()
9387
yield return new object[] { new
Control
(), Padding.Empty };
9415
using Control control =
new
();
9441
using Control parent =
new
();
9442
using Control control =
new
()
9539
using Control parent =
new
();
9610
using Control control =
new
();
9648
using Control control =
new
();
9664
using Control control =
new
();
9679
yield return new object[] { new
Control
() };
9687
using Control control =
new
()
9704
using Control oldParent =
new
();
9705
using Control control =
new
()
9725
using Control parent =
new
();
9726
using Control control =
new
()
9745
using Control control =
new
();
9773
using Control parent =
new
();
9774
using Control control =
new
();
9809
using Control control =
new
();
9817
using Control child =
new
();
9818
using Control control =
new
();
9828
using Control parent =
new
();
9839
using Control control =
new
();
9840
using Control child =
new
()
9858
using Control child =
new
()
9880
using Control control =
new
()
9898
using Control control =
new
()
9920
using Control control =
new
();
9950
using Control control =
new
()
9984
using Control control =
new
();
10059
using Control control =
new
()
10076
using Control control =
new
()
10095
using Control child1 =
new
();
10096
using Control child2 =
new
();
10097
using Control control =
new
();
10119
using Control child1 =
new
()
10123
using Control child2 =
new
()
10127
using Control control =
new
();
10151
using Control control =
new
();
10182
using Control control =
new
()
10213
using Control control =
new
();
10248
using Control control =
new
();
10273
using Control child1 =
new
();
10274
using Control child2 =
new
()
10278
using Control control =
new
();
10356
using Control child1 =
new
()
10360
using Control child2 =
new
()
10364
using Control control =
new
();
10437
using Control control =
new
();
10445
using Control control =
new
();
10473
using Control control =
new
();
10651
using Control control =
new
()
10668
using Control control =
new
();
10704
using Control control =
new
()
10781
using Control control =
new
();
10957
using Control control =
new
()
11371
using Control parent =
new
();
11616
using Control parent =
new
();
11756
using Control control =
new
();
11780
using Control control =
new
();
11806
using Control control =
new
()
11822
using Control control =
new
()
11860
using Control control =
new
();
11868
using Control control =
new
()
11890
using Control control =
new
();
11926
using Control control =
new
()
11965
using Control control =
new
()
11982
using Control control =
new
();
12010
using Control control =
new
();
12046
using Control control =
new
();
12073
using Control control =
new
();
12176
using Control parent =
new
();
12368
using Control parent =
new
();
12521
using Control control =
new
();
12569
using Control grandparent =
new
();
12570
using Control parent =
new
()
12574
using Control control =
new
()
12588
using Control parent =
new
()
12592
using Control control =
new
()
12605
using Control control =
new
()
12627
using Control control =
new
();
12628
using Control child1 =
new
();
12629
using Control child2 =
new
();
12658
using Control control =
new
();
12698
using Control parent =
new
()
12702
using Control item =
new
()
12717
using Control control =
new
()
12739
using Control parent =
new
();
12740
using Control control =
new
()
12813
using Control parent =
new
();
12814
using Control control =
new
()
12871
using Control control =
new
()
12909
using Control child1 =
new
();
12910
using Control child2 =
new
();
12911
using Control control =
new
()
12986
using Control child1 =
new
()
12990
using Control child2 =
new
()
12994
using Control control =
new
()
13070
using Control control =
new
();
13086
using Control control =
new
();
13391
using Control parent =
new
();
13626
using Control parent =
new
();
13765
using Control cont =
new
();
13777
using Control control =
new
()
13792
using Control control =
new
();
System\Windows\Forms\DataGridViewTests.cs (8)
115
using Control parent =
new
();
257
using Control parent =
new
();
819
yield return new object[] { new
Control
() };
844
using Control oldParent =
new
();
865
using Control parent =
new
();
911
using Control parent =
new
();
1032
using Control parent =
new
();
1181
using Control parent =
new
();
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
1589
using Control parent =
new
();
1880
using Control parent =
new
();
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
805
using Control result =
new
();
System\Windows\Forms\ErrorProviderTests.cs (21)
858
yield return new object[] { new
Control
(), true };
873
using Control control =
new
();
896
using Control control =
new
();
926
using Control control =
new
();
955
using Control control =
new
();
973
using Control control =
new
();
991
using Control control =
new
();
1047
using Control control =
new
();
1074
using Control control =
new
();
1098
using Control control =
new
();
1107
using Control control =
new
();
1132
yield return new object[] { blinkStyle, new SubControl { Parent =
new
() }, error, error ?? string.Empty };
1142
using Control originalParent =
new
();
1143
using Control newParent =
new
();
1229
using Control control1 =
new
();
1240
using Control control1 =
new
();
1253
using Control control1 =
new
();
1266
using Control control1 =
new
();
1279
using Control control1 =
new
();
1295
using Control control1 =
new
();
1308
using Control control1 =
new
();
System\Windows\Forms\FlowLayoutPanelTests.cs (8)
217
using Control extendee =
new
()
229
yield return new object[] { new
Control
() };
230
yield return new object[] { new
Control
{ Parent =
new
() } };
252
using Control child =
new
();
320
using Control child =
new
();
356
using Control parent =
new
();
357
using Control child =
new
()
System\Windows\Forms\FlowLayoutSettingsTests.cs (4)
102
Assert.False(settings.GetFlowBreak(new
Control
()));
136
using Control child =
new
();
176
using Control parent =
new
();
177
using Control child =
new
()
System\Windows\Forms\FormTests.cs (7)
927
yield return new object[] { new
Control
() };
955
using Control oldParent =
new
();
1069
yield return new object[] { new
Control
() };
1101
using Control parent =
new
();
1155
using Control parent =
new
();
1206
using Control parent =
new
();
2603
using Control control =
new
();
System\Windows\Forms\GroupBoxTests.cs (8)
269
using Control parent =
new
();
417
using Control parent =
new
();
927
using Control child =
new
()
1220
using Control parent =
new
();
1317
using Control parent =
new
();
1984
using Control parent =
new
();
2029
using Control parent =
new
()
2045
using Control parent =
new
()
System\Windows\Forms\HelpProviderTests.cs (21)
52
using Control control =
new
();
77
yield return new object[] { new
Control
(), true };
92
Assert.Null(provider.GetHelpKeyword(new
Control
()));
106
Assert.Equal(HelpNavigator.AssociateIndex, provider.GetHelpNavigator(new
Control
()));
120
Assert.Null(provider.GetHelpString(new
Control
()));
134
Assert.False(provider.GetShowHelp(new
Control
()));
149
using Control control =
new
();
160
using Control control =
new
();
189
using Control control =
new
();
223
using Control control =
new
();
255
using Control control =
new
();
290
using Control control =
new
();
307
using Control control =
new
();
325
using Control control =
new
();
352
Assert.Throws<InvalidEnumArgumentException>("navigator", () => provider.SetHelpNavigator(new
Control
(), navigator));
360
using Control control =
new
();
379
using Control control =
new
();
399
using Control control =
new
();
426
using Control control =
new
();
452
using Control control =
new
();
492
Assert.False(provider.ShouldSerializeShowHelp(new
Control
()));
System\Windows\Forms\HtmlDocumentTests.cs (96)
20
using Control parent =
new
();
52
using Control parent =
new
();
84
using Control parent =
new
();
108
using Control parent =
new
();
138
using Control parent =
new
();
158
using Control parent =
new
();
178
using Control parent =
new
();
195
using Control parent =
new
();
212
using Control parent =
new
();
237
using Control parent =
new
();
269
using Control parent =
new
();
301
using Control parent =
new
();
331
using Control parent =
new
();
361
using Control parent =
new
();
378
using Control parent =
new
();
395
using Control parent =
new
();
420
using Control parent =
new
();
437
using Control parent =
new
();
472
using Control parent =
new
();
487
using Control parent =
new
();
502
using Control parent =
new
();
524
using Control parent =
new
();
539
using Control parent =
new
();
555
using Control parent =
new
();
577
using Control parent =
new
();
592
using Control parent =
new
();
606
using Control parent =
new
();
630
using Control parent =
new
();
664
using Control parent =
new
();
678
using Control parent =
new
();
693
using Control parent =
new
();
717
using Control parent =
new
();
749
using Control parent =
new
();
781
using Control parent =
new
();
803
using Control parent =
new
();
834
using Control parent =
new
();
854
using Control parent =
new
();
870
using Control parent =
new
();
890
using Control parent =
new
();
906
using Control parent =
new
();
938
using Control parent =
new
();
970
using Control parent =
new
();
992
using Control parent =
new
();
1022
using Control parent =
new
();
1042
using Control parent =
new
();
1058
using Control parent =
new
();
1083
using Control parent =
new
();
1106
using Control parent =
new
();
1130
using Control parent =
new
();
1167
using Control parent =
new
();
1181
using Control parent =
new
();
1196
using Control parent =
new
();
1218
using Control parent =
new
();
1248
using Control parent =
new
();
1269
using Control parent =
new
();
1301
using Control parent =
new
();
1333
using Control parent =
new
();
1355
using Control parent =
new
();
1385
using Control parent =
new
();
1404
using Control parent =
new
();
1466
using Control parent =
new
();
1504
using Control parent =
new
();
1522
using Control parent =
new
();
1542
using Control parent =
new
();
1559
using Control parent =
new
();
1575
using Control parent =
new
();
1603
using Control parent =
new
();
1620
using Control parent =
new
();
1637
using Control parent =
new
();
1660
using Control parent =
new
();
1678
using Control parent =
new
();
1693
using Control parent =
new
();
1712
using Control parent =
new
();
1730
using Control parent =
new
();
1744
using Control parent =
new
();
1761
using Control parent =
new
();
1786
using Control parent =
new
();
1806
using Control parent =
new
();
1820
using Control parent =
new
();
1838
using Control parent =
new
();
1877
using Control parent =
new
();
1904
using Control parent =
new
();
1921
using Control parent =
new
();
1938
using Control parent =
new
();
1956
using Control parent =
new
();
1976
using Control parent =
new
();
1997
using Control parent =
new
();
2035
using Control parent =
new
();
2073
using Control parent =
new
();
2111
using Control parent =
new
();
2149
using Control parent =
new
();
2187
using Control parent =
new
();
2225
using Control parent =
new
();
2263
using Control parent =
new
();
2301
using Control parent =
new
();
2339
using Control parent =
new
();
System\Windows\Forms\HtmlElementTests.cs (127)
20
using Control parent =
new
();
40
using Control parent =
new
();
57
using Control parent =
new
();
76
using Control parent =
new
();
91
using Control parent =
new
();
106
using Control parent =
new
();
122
using Control parent =
new
();
141
using Control parent =
new
();
158
using Control parent =
new
();
180
using Control parent =
new
();
198
using Control parent =
new
();
214
using Control parent =
new
();
236
using Control parent =
new
();
275
using Control parent =
new
();
290
using Control parent =
new
();
308
using Control parent =
new
();
323
using Control parent =
new
();
341
using Control parent =
new
();
366
using Control parent =
new
();
397
using Control parent =
new
();
412
using Control parent =
new
();
431
using Control parent =
new
();
457
using Control parent =
new
();
488
using Control parent =
new
();
503
using Control parent =
new
();
518
using Control parent =
new
();
533
using Control parent =
new
();
552
using Control parent =
new
();
578
using Control parent =
new
();
609
using Control parent =
new
();
624
using Control parent =
new
();
639
using Control parent =
new
();
654
using Control parent =
new
();
670
using Control parent =
new
();
696
using Control parent =
new
();
729
using Control parent =
new
();
744
using Control parent =
new
();
762
using Control parent =
new
();
780
using Control parent =
new
();
798
using Control parent =
new
();
814
using Control parent =
new
();
829
using Control parent =
new
();
853
using Control parent =
new
();
884
using Control parent =
new
();
915
using Control parent =
new
();
930
using Control parent =
new
();
945
using Control parent =
new
();
964
using Control parent =
new
();
990
using Control parent =
new
();
1021
using Control parent =
new
();
1036
using Control parent =
new
();
1057
using Control parent =
new
();
1075
using Control parent =
new
();
1093
using Control parent =
new
();
1117
using Control parent =
new
();
1147
using Control parent =
new
();
1165
using Control parent =
new
();
1183
using Control parent =
new
();
1207
using Control parent =
new
();
1237
using Control parent =
new
();
1256
using Control parent =
new
();
1275
using Control parent =
new
();
1304
using Control parent =
new
();
1337
using Control parent =
new
();
1355
using Control parent =
new
();
1379
using Control parent =
new
();
1409
using Control parent =
new
();
1424
using Control parent =
new
();
1456
using Control parent =
new
();
1494
using Control parent =
new
();
1511
using Control parent =
new
();
1576
using Control parent =
new
();
1617
using Control parent =
new
();
1659
using Control parent =
new
();
1698
using Control parent =
new
();
1717
using Control parent =
new
();
1737
using Control parent =
new
();
1766
using Control parent =
new
();
1784
using Control parent =
new
();
1802
using Control parent =
new
();
1824
using Control parent =
new
();
1842
using Control parent =
new
();
1858
using Control parent =
new
();
1890
using Control parent =
new
();
1910
using Control parent =
new
();
1925
using Control parent =
new
();
1950
using Control parent =
new
();
1965
using Control parent =
new
();
1988
using Control parent =
new
();
2026
using Control parent =
new
();
2070
using Control parent =
new
();
2108
using Control parent =
new
();
2152
using Control parent =
new
();
2188
using Control parent =
new
();
2232
using Control parent =
new
();
2267
using Control parent =
new
();
2311
using Control parent =
new
();
2327
using Control parent =
new
();
2343
using Control parent =
new
();
2363
using Control parent =
new
();
2382
using Control parent =
new
();
2400
using Control parent =
new
();
2421
using Control parent =
new
();
2440
using Control parent =
new
();
2465
using Control parent =
new
();
2480
using Control parent =
new
();
2497
using Control parent =
new
();
2520
using Control parent =
new
();
2544
using Control parent =
new
();
2585
using Control parent =
new
();
2626
using Control parent =
new
();
2667
using Control parent =
new
();
2708
using Control parent =
new
();
2749
using Control parent =
new
();
2790
using Control parent =
new
();
2831
using Control parent =
new
();
2872
using Control parent =
new
();
2913
using Control parent =
new
();
2954
using Control parent =
new
();
2995
using Control parent =
new
();
3036
using Control parent =
new
();
3077
using Control parent =
new
();
3118
using Control parent =
new
();
3159
using Control parent =
new
();
3200
using Control parent =
new
();
3241
using Control parent =
new
();
3282
using Control parent =
new
();
System\Windows\Forms\HtmlWindowTests.cs (4)
17
using Control parent =
new
();
33
using Control parent =
new
();
49
using Control parent =
new
();
70
using Control parent =
new
();
System\Windows\Forms\Layout\FlowLayoutTests.cs (28)
42
using Control child1 =
new
()
47
using Control child2 =
new
()
52
using Control largeChild =
new
()
57
using Control emptyChild =
new
()
61
using Control emptyChildWithMargin =
new
()
66
using Control child3 =
new
()
71
using Control child4 =
new
()
103
using Control child1 =
new
()
108
using Control child2 =
new
()
113
using Control largeChild =
new
()
118
using Control emptyChild =
new
()
122
using Control emptyChildWithMargin =
new
()
127
using Control child3 =
new
()
132
using Control child4 =
new
()
164
using Control child1 =
new
()
169
using Control child2 =
new
()
174
using Control largeChild =
new
()
179
using Control emptyChild =
new
()
183
using Control emptyChildWithMargin =
new
()
188
using Control child3 =
new
()
193
using Control child4 =
new
()
225
using Control child1 =
new
()
230
using Control child2 =
new
()
235
using Control largeChild =
new
()
240
using Control emptyChild =
new
()
244
using Control emptyChildWithMargin =
new
()
249
using Control child3 =
new
()
254
using Control child4 =
new
()
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (58)
161
using Control child =
new
();
170
using Control child =
new
();
211
using Control child =
new
();
221
using Control child =
new
();
231
using Control child =
new
();
241
using Control child =
new
();
253
using Control child =
new
();
260
using Control child =
new
();
301
using Control child =
new
();
310
using Control child =
new
();
319
using Control child =
new
();
354
using Control child =
new
();
361
using Control child =
new
();
402
using Control child =
new
();
411
using Control child =
new
();
462
using Control child =
new
();
499
using Control parent =
new
();
500
using Control child =
new
()
552
using Control child =
new
();
574
using Control parent =
new
();
575
using Control child =
new
()
623
using Control child =
new
();
637
using Control child =
new
();
686
using Control child =
new
();
718
using Control parent =
new
();
719
using Control child =
new
()
775
using Control child =
new
();
801
using Control parent =
new
();
802
using Control child =
new
()
843
using Control child =
new
();
857
using Control child =
new
();
924
using Control child =
new
();
953
using Control parent =
new
();
954
using Control child =
new
()
1008
using Control child =
new
();
1032
using Control parent =
new
();
1033
using Control child =
new
()
1074
using Control child =
new
();
1088
using Control child =
new
();
1162
using Control child =
new
();
1194
using Control parent =
new
();
1195
using Control child =
new
()
1251
using Control child =
new
();
1277
using Control parent =
new
();
1278
using Control child =
new
()
1319
using Control child =
new
();
1333
using Control child =
new
();
1400
using Control child =
new
();
1429
using Control parent =
new
();
1430
using Control child =
new
()
1484
using Control child =
new
();
1508
using Control parent =
new
();
1509
using Control child =
new
()
1550
using Control child =
new
();
1564
using Control child =
new
();
1662
using Control controlWithName =
new
()
1666
using Control controlWithDefaultName =
new
();
1779
using Control controlWithName =
new
() { Name = "name" };
System\Windows\Forms\LayoutEventArgsTests.cs (3)
16
yield return new object[] { new
Control
(), "" };
33
yield return new object[] { new
Control
(), "" };
34
yield return new object[] { new
Control
(), "affectedProperty" };
System\Windows\Forms\ListBoxTests.cs (1)
930
using Control parent =
new
();
System\Windows\Forms\MdiClientTests.cs (7)
181
using Control parent =
new
()
260
using Control parent =
new
()
376
using Control parent =
new
()
420
using Control parent =
new
()
698
using Control parent =
new
();
847
using Control parent =
new
()
1009
using Control parent =
new
()
System\Windows\Forms\MenuStripTests.cs (1)
699
using Control parent =
new
();
System\Windows\Forms\MixedDpiHostingTests.cs (1)
29
using Control control =
new
();
System\Windows\Forms\NativeWindowTests.cs (12)
22
using Control control =
new
();
51
using Control control =
new
();
88
using Control control =
new
();
145
using Control control =
new
();
174
using Control control =
new
();
238
using Control control =
new
();
295
using Control control =
new
();
340
using Control control =
new
();
406
using Control control =
new
();
416
using Control control =
new
();
428
using Control control =
new
();
474
using Control control =
new
();
System\Windows\Forms\PanelTests.cs (5)
257
using Control parent =
new
();
354
_layoutEngine = new
Control
().LayoutEngine;
405
using Control parent =
new
();
614
using Control child =
new
()
629
using Control child =
new
()
System\Windows\Forms\PictureBoxTests.cs (7)
240
using Control control =
new
()
259
using Control control =
new
();
277
using Control control =
new
()
1119
yield return new object[] { new
Control
() };
1142
using Control oldParent =
new
();
1161
using Control parent =
new
();
1178
using Control parent =
new
();
System\Windows\Forms\ReadOnlyControlCollectionTests.cs (1)
13
using Control owner =
new
();
System\Windows\Forms\RichTextBoxTests.cs (8)
462
using Control parent =
new
();
679
using Control control =
new
();
2133
using Control parent =
new
();
2189
using Control parent =
new
();
2964
using Control parent =
new
();
3087
using Control parent =
new
();
7102
using Control parent =
new
();
7330
using Control parent =
new
();
System\Windows\Forms\ScreenTests.cs (3)
68
yield return new object[] { new
Control
() };
70
Control createdControl =
new
();
101
using Control control =
new
();
System\Windows\Forms\ScrollableControlTests.cs (6)
1394
yield return new object[] { true, new LayoutEventArgs(affectedControl = new
Control
(), "affectedProperty"), 2, affectedControl };
1398
yield return new object[] { false, new LayoutEventArgs(affectedControl = new
Control
(), "affectedProperty"), 1, affectedControl };
1570
Func<Control> controlFactory = () => new
Control
1665
static Control CreateControl() =>
new
()
1823
using Control parent =
new
()
2486
yield return new object[] { true, true, true, new Size(70, 80), new
Control
(), new Rectangle(0, 0, 70, 80) };
System\Windows\Forms\SplitterPanelTests.cs (4)
216
using Control parent =
new
();
277
using Control parent =
new
();
715
yield return new object[] { new
Control
() };
739
using Control parent =
new
();
System\Windows\Forms\SplitterTests.cs (12)
1142
using Control parent =
new
()
1197
using Control parent =
new
()
1202
using Control child =
new
()
1242
using Control parent =
new
()
1247
using Control child =
new
()
1314
using Control parent =
new
()
1361
using Control parent =
new
()
1366
using Control child =
new
()
2009
using Control parent =
new
()
2014
using Control child =
new
()
2110
using Control parent =
new
()
2115
using Control child =
new
()
System\Windows\Forms\StatusStripTests.cs (1)
1134
yield return new object[] { layoutStyle, dock, new LayoutEventArgs(new
Control
(), "AffectedProperty") };
System\Windows\Forms\TabControl.ControlCollectionTests.cs (3)
877
using Control value =
new
();
1457
using Control value1 =
new
();
1458
using Control value2 =
new
();
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (8)
1086
yield return new object[] { new
Control
() };
1590
Assert.False(iList.Contains(new
Control
()));
1602
Assert.False(iList.Contains(new
Control
()));
1895
Assert.Equal(-1, iList.IndexOf(new
Control
()));
1907
Assert.Equal(-1, iList.IndexOf(new
Control
()));
3135
yield return new object[] { new
Control
() };
3932
yield return new object[] { new
Control
() };
4797
yield return new object[] { new
Control
() };
System\Windows\Forms\TableLayoutControlCollectionTests.cs (3)
34
using Control child =
new
();
46
using Control child =
new
();
58
using Control child =
new
();
System\Windows\Forms\TableLayoutPanelTests.cs (62)
345
using Control child =
new
();
365
using Control child =
new
();
499
using Control controlWithName =
new
() { Name = "name" };
500
using Control controlWithDefaultName =
new
();
648
using Control child =
new
();
663
using Control child =
new
();
672
using Control child =
new
();
681
using Control child =
new
();
696
using Control child =
new
();
737
using Control child =
new
();
777
using Control child =
new
();
797
using Control child =
new
()
820
using Control child =
new
()
842
using Control otherChild =
new
();
843
using Control child =
new
()
890
using Control child =
new
();
904
using Control child =
new
();
916
using Control child =
new
();
934
using Control child =
new
();
1142
using Control child =
new
();
1322
yield return new object[] { new LayoutEventArgs(new
Control
(), null) };
1323
yield return new object[] { new LayoutEventArgs(new
Control
(), string.Empty) };
1324
yield return new object[] { new LayoutEventArgs(new
Control
(), "ChildIndex") };
1325
yield return new object[] { new LayoutEventArgs(new
Control
(), "Visible") };
1326
yield return new object[] { new LayoutEventArgs(new
Control
(), "Items") };
1327
yield return new object[] { new LayoutEventArgs(new
Control
(), "Rows") };
1328
yield return new object[] { new LayoutEventArgs(new
Control
(), "Columns") };
1329
yield return new object[] { new LayoutEventArgs(new
Control
(), "RowStyles") };
1330
yield return new object[] { new LayoutEventArgs(new
Control
(), "ColumnStyles") };
1331
yield return new object[] { new LayoutEventArgs(new
Control
(), "TableIndex") };
1332
yield return new object[] { new LayoutEventArgs(new
Control
(), "GrowStyle") };
1333
yield return new object[] { new LayoutEventArgs(new
Control
(), "CellBorderStyle") };
1334
yield return new object[] { new LayoutEventArgs(new
Control
(), "LayoutSettings") };
1335
yield return new object[] { new LayoutEventArgs(new
Control
(), "NoSuchProperty") };
1507
using Control child1 =
new
();
1512
using Control child2 =
new
();
1557
using Control child =
new
();
1593
using Control parent =
new
();
1594
using Control child =
new
()
1644
using Control child =
new
();
1668
using Control child =
new
();
1699
using Control parent =
new
();
1700
using Control child =
new
()
1750
using Control child =
new
();
1770
Assert.Throws<ArgumentOutOfRangeException>("column", () => control.SetColumn(new
Control
(), -2));
1779
using Control child =
new
();
1808
using Control parent =
new
();
1809
using Control child =
new
()
1859
using Control child =
new
();
1884
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.SetColumnSpan(new
Control
(), value));
1895
using Control child =
new
();
1926
using Control parent =
new
();
1927
using Control child =
new
()
1977
using Control child =
new
();
1997
Assert.Throws<ArgumentOutOfRangeException>("row", () => control.SetRow(new
Control
(), -2));
2006
using Control child =
new
();
2035
using Control parent =
new
();
2036
using Control child =
new
()
2086
using Control child =
new
();
2110
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.SetRowSpan(new
Control
(), value));
2116
using Control extendee =
new
();
2128
yield return new object[] { new
Control
() };
System\Windows\Forms\TabPageTests.cs (6)
2615
using Control parent =
new
();
3816
using Control parent =
new
()
3820
using Control control =
new
()
3832
using Control grandparent =
new
();
3833
using Control parent =
new
()
3837
using Control control =
new
()
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (2)
30
using Control control1 =
new
();
31
using Control control2 =
new
();
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
98
using Control control =
new
();
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
496
using Control parent =
new
();
557
using Control parent =
new
();
636
using Control parent =
new
()
System\Windows\Forms\ToolStripControlHostTests.cs (167)
20
yield return new object[] { new
Control
() };
23
new
Control
41
yield return new object[] { new
Control
{ Enabled = false } };
42
yield return new object[] { new
Control
{ Visible = false } };
139
using Control c =
new
();
158
using Control c =
new
();
169
using Control c =
new
();
188
using Control c =
new
();
199
using Control c =
new
();
218
using Control c =
new
();
229
using Control c =
new
();
249
using Control c =
new
();
257
using Control c =
new
();
268
using Control c =
new
();
287
using Control c =
new
();
323
using Control c =
new
();
334
using Control c =
new
();
351
using Control c =
new
();
365
using Control c =
new
();
382
using Control c =
new
();
391
using Control c =
new
();
410
using Control c =
new
();
429
using Control c =
new
();
440
using Control c =
new
();
451
using Control c =
new
();
470
using Control c =
new
();
494
using Control c =
new
()
508
using Control c =
new
();
518
using Control c =
new
();
543
using Control c =
new
();
557
using Control c =
new
();
569
using Control c =
new
();
580
using Control c =
new
();
595
using Control c =
new
();
614
using Control c =
new
();
626
using Control c =
new
();
640
using Control c =
new
();
654
using Control c =
new
();
664
using Control c =
new
();
678
using Control c =
new
();
700
using Control c =
new
()
725
using Control c =
new
();
745
using Control c =
new
();
753
using Control c =
new
();
764
using Control c =
new
();
781
using Control c =
new
();
817
using Control c =
new
();
826
using Control c =
new
();
843
using Control c =
new
();
866
using Control c =
new
();
893
using Control c =
new
();
928
using Control c =
new
();
938
using Control c =
new
();
948
using Control c =
new
();
968
using Control c =
new
();
989
using Control c =
new
();
1001
using Control c =
new
();
1027
using Control c =
new
();
1041
using Control c =
new
();
1067
using Control c =
new
();
1076
using Control c =
new
();
1087
using Control c =
new
();
1106
using Control c =
new
();
1142
using Control c =
new
();
1153
using Control c =
new
();
1170
using Control c =
new
();
1184
using Control c =
new
();
1201
using Control c =
new
();
1222
using Control c =
new
();
1244
using Control c =
new
();
1264
using Control c =
new
();
1275
using Control c =
new
();
1297
using Control c =
new
();
1319
using Control c =
new
();
1348
using Control c =
new
();
1389
using Control c =
new
();
1457
using Control c =
new
();
1532
using Control c =
new
();
1548
using Control c =
new
();
1559
using Control c =
new
();
1579
using Control c =
new
();
1598
using Control c =
new
();
1635
using Control c =
new
();
1644
using Control c =
new
();
1673
using Control c =
new
();
1687
using Control c =
new
();
1716
using Control c =
new
();
1727
using Control c =
new
();
1749
using Control c =
new
();
1772
using Control c =
new
();
1818
using Control c =
new
();
1839
using Control c =
new
();
1860
using Control c =
new
();
1882
using Control c =
new
();
1918
using Control c =
new
();
1947
using Control c =
new
();
1970
using Control c =
new
();
1988
using Control c =
new
();
2009
using Control c =
new
();
2028
using Control c =
new
();
2048
using Control c =
new
();
2070
using Control c =
new
();
2089
using Control c =
new
();
2109
using Control c =
new
();
2129
using Control c =
new
();
2161
using Control c =
new
();
2180
using Control c =
new
();
2206
using Control c =
new
()
2230
using Control c =
new
();
2251
using Control c =
new
();
2270
using Control c =
new
();
2307
using Control c =
new
();
2325
using Control c =
new
();
2342
using Control c =
new
();
2358
using Control c =
new
();
2367
using Control c =
new
();
2387
using Control c =
new
();
2408
using Control c =
new
();
2438
using Control c =
new
();
2474
using Control c =
new
();
2512
using Control c =
new
();
2532
using Control c =
new
();
2550
using Control c =
new
();
2565
using Control c =
new
();
2577
using Control c =
new
();
2619
using Control c =
new
();
2661
using Control c =
new
();
2693
using Control c =
new
();
2703
using Control c =
new
();
2723
using Control c =
new
()
2738
using Control c =
new
()
2756
using Control c =
new
();
2770
using Control c =
new
()
2794
using Control c =
new
();
2808
using Control c =
new
();
2833
using Control c =
new
();
2858
using Control c =
new
()
2876
using Control c =
new
();
2901
using Control c =
new
();
2926
using Control c =
new
();
2951
using Control c =
new
();
2964
using Control c =
new
();
2989
using Control c =
new
();
3014
using Control c =
new
();
3059
using Control c =
new
();
3078
using Control c =
new
();
3102
using Control c =
new
();
3171
using Control controlParent =
new
();
3172
using Control c =
new
()
3246
using Control c =
new
();
3267
using Control c =
new
();
4138
using Control c =
new
();
4147
using Control c =
new
();
4172
using Control c =
new
();
4201
using Control c =
new
();
4242
using Control c =
new
();
4258
using Control c =
new
();
4302
using Control c =
new
();
4317
using Control c =
new
();
4358
using Control c =
new
();
4390
using Control c =
new
();
4413
using Control c =
new
();
4423
using Control c =
new
();
4446
using Control c =
new
();
4457
using Control c =
new
();
4491
using Control c =
new
();
4527
using Control c =
new
();
System\Windows\Forms\ToolStripDropDownTests.cs (19)
703
using Control parent =
new
();
1325
using Control parent =
new
()
1357
using Control parent =
new
()
1487
using Control parent =
new
()
2329
using Control sourceControl =
new
()
2361
using Control sourceControl =
new
()
2912
using Control parent =
new
();
3092
using Control sourceControl =
new
()
3373
using Control sourceControl =
new
()
3432
using Control sourceControl =
new
()
4138
yield return new object[] { true, new LayoutEventArgs(new
Control
(), "affectedProperty"), 2 };
4142
yield return new object[] { false, new LayoutEventArgs(new
Control
(), "affectedProperty"), 1 };
4188
yield return new object[] { autoSize, new LayoutEventArgs(new
Control
(), "affectedProperty") };
4331
yield return new object[] { true, new LayoutEventArgs(new
Control
(), "affectedProperty"), 2, 3 };
4335
yield return new object[] { false, new LayoutEventArgs(new
Control
(), "affectedProperty"), 1, 1 };
4496
yield return new object[] { true, new LayoutEventArgs(new
Control
(), "affectedProperty"), 2, 3 };
4500
yield return new object[] { false, new LayoutEventArgs(new
Control
(), "affectedProperty"), 1, 1 };
4991
using Control control =
new
();
5023
using Control control =
new
();
System\Windows\Forms\ToolStripPanel.ToolStripPanelControlCollection.XYComparerTests.cs (2)
11
private readonly Control _control1 =
new
() { Bounds = new Rectangle(10, 20, 100, 100) };
12
private readonly Control _control2 =
new
() { Bounds = new Rectangle(10, 10, 100, 100) };
System\Windows\Forms\ToolStripTests.cs (12)
914
using Control parent =
new
();
1086
using Control parent =
new
()
1403
using Control parent =
new
()
1876
using Control parent =
new
()
1907
using Control parent =
new
()
2457
using Control parent =
new
();
2921
using Control parent =
new
();
5033
yield return new object[] { new ControlEventArgs(new
Control
()) };
5912
Control control =
new
()
5960
Control control =
new
()
6162
using Control parent =
new
()
6921
using Control parent =
new
();
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
36
Control control =
new
();
System\Windows\Forms\ToolTipTests.cs (8)
624
yield return new object[] { new
Control
(), true };
638
yield return new object[] { new
Control
() };
652
using Control control =
new
();
675
using Control control =
new
();
696
using Control control =
new
();
723
using Control control =
new
();
751
using Control control =
new
();
809
using Control topLevelControl =
new
();
System\Windows\Forms\UnsupportedTypesTests.cs (2)
81
using Control control =
new
();
94
using Control control =
new
();
System\Windows\Forms\UpDownBaseTests.cs (1)
1966
yield return new object[] { borderStyle, rightToLeft, upDownAlign, new LayoutEventArgs(new
Control
(), "affectedProperty") };
System\Windows\Forms\UserControlTests.cs (14)
314
using Control parent =
new
();
362
using Control parent =
new
();
469
_layoutEngine = new
Control
().LayoutEngine;
520
using Control parent =
new
();
1262
using Control child1 =
new
();
1263
using Control grandchild1 =
new
();
1266
using Control grandchild2 =
new
();
1488
using Control child1 =
new
();
1489
using Control grandchild1 =
new
();
1492
using Control grandchild2 =
new
();
1722
using Control child1 =
new
();
1723
using Control child2 =
new
();
1752
using Control child1 =
new
();
1753
using Control child2 =
new
();
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (3)
356
using Control childControl =
new
();
383
using Control childControl =
new
();
394
using Control childControl =
new
();
System\Windows\Forms\WebBrowserTests.cs (136)
161
using Control parent =
new
();
189
using Control parent =
new
();
228
using Control parent =
new
();
242
using Control parent =
new
();
254
using Control parent =
new
();
292
using Control parent =
new
();
328
using Control parent =
new
();
341
using Control parent =
new
();
353
using Control parent =
new
();
373
using Control parent =
new
();
398
using Control parent =
new
();
412
using Control parent =
new
();
440
using Control parent =
new
();
456
using Control parent =
new
();
478
using Control parent =
new
();
490
using Control parent =
new
();
511
using Control parent =
new
();
525
using Control parent =
new
();
546
using Control parent =
new
();
558
using Control parent =
new
();
570
using Control parent =
new
();
595
using Control parent =
new
();
607
using Control parent =
new
();
628
using Control parent =
new
();
642
using Control parent =
new
();
663
using Control parent =
new
();
675
using Control parent =
new
();
709
using Control parent =
new
();
732
using Control parent =
new
();
831
using Control parent =
new
();
843
using Control parent =
new
();
864
using Control parent =
new
();
881
using Control parent =
new
();
900
using Control parent =
new
();
912
using Control parent =
new
();
933
using Control parent =
new
();
947
using Control parent =
new
();
967
using Control parent =
new
();
979
using Control parent =
new
();
1000
using Control parent =
new
();
1014
using Control parent =
new
();
1033
using Control parent =
new
();
1045
using Control parent =
new
();
1066
using Control parent =
new
();
1109
using Control parent =
new
();
1123
using Control parent =
new
();
1142
using Control parent =
new
();
1154
using Control parent =
new
();
1175
using Control parent =
new
();
1189
using Control parent =
new
();
1201
using Control parent =
new
();
1239
using Control parent =
new
();
1292
using Control parent =
new
();
1419
using Control parent =
new
();
1438
using Control parent =
new
()
1460
using Control parent =
new
();
1480
using Control parent =
new
();
1499
using Control parent =
new
()
1521
using Control parent =
new
();
1596
using Control parent =
new
();
1610
using Control parent =
new
();
1629
using Control parent =
new
();
1641
using Control parent =
new
();
1662
using Control parent =
new
();
1676
using Control parent =
new
();
1688
using Control parent =
new
();
1726
using Control parent =
new
();
1760
using Control parent =
new
();
1773
using Control parent =
new
();
1811
using Control parent =
new
();
1847
using Control parent =
new
();
1861
using Control parent =
new
();
1880
using Control parent =
new
();
1892
using Control parent =
new
();
1913
using Control parent =
new
();
1927
using Control parent =
new
();
1946
using Control parent =
new
();
1958
using Control parent =
new
();
1970
using Control parent =
new
();
2065
using Control parent =
new
();
2096
using Control parent =
new
();
2108
using Control parent =
new
();
2120
using Control parent =
new
();
2278
using Control parent =
new
();
2358
using Control parent =
new
();
2385
using Control parent =
new
();
2443
using Control parent =
new
();
2463
using Control parent =
new
();
2487
using Control parent =
new
();
2574
using Control parent =
new
();
2677
using Control parent =
new
();
2721
using Control parent =
new
();
2866
using Control parent =
new
();
2887
using Control parent =
new
();
2967
using Control parent =
new
();
2989
using Control parent =
new
();
3004
using Control parent =
new
();
3082
using Control parent =
new
();
3104
using Control parent =
new
();
3119
using Control parent =
new
();
3131
using Control parent =
new
();
3153
using Control parent =
new
();
3168
using Control parent =
new
();
3180
using Control parent =
new
();
3192
using Control parent =
new
();
3281
using Control parent =
new
();
3304
using Control parent =
new
();
3399
using Control parent =
new
();
3422
using Control parent =
new
();
3470
using Control parent =
new
();
3486
using Control parent =
new
();
3604
Control parent =
new
();
3644
using Control parent =
new
();
3656
using Control parent =
new
();
3921
using Control parent =
new
();
3943
using Control parent =
new
();
3958
using Control parent =
new
();
4016
using Control parent =
new
();
4088
using Control parent =
new
();
4105
using Control parent =
new
();
4165
using Control parent =
new
();
4223
using Control parent =
new
();
4246
using Control parent =
new
();
4261
using Control parent =
new
();
4283
using Control parent =
new
();
4298
using Control parent =
new
();
4320
using Control parent =
new
();
4335
using Control parent =
new
();
4357
using Control parent =
new
();
4372
using Control parent =
new
();
4394
using Control parent =
new
();
4409
using Control parent =
new
();
4431
using Control parent =
new
();
4446
using Control parent =
new
();
4525
using Control control =
new
();
4599
using Control control =
new
();
TextBoxBaseTests.cs (10)
287
using Control parent =
new
();
581
using Control parent =
new
();
2008
using Control parent =
new
();
2067
using Control parent =
new
();
3727
using Control parent =
new
();
3777
using Control parent =
new
();
5863
using Control parent =
new
();
6042
using Control parent =
new
();
6974
using Control control =
new
();
7055
using Control control =
new
();
WebBrowserBaseTests.cs (2)
239
using Control parent =
new
();
814
using Control parent =
new
()
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
145
new(new
Control
(), "affectedProperty")
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
64
:
base
()