2077 references to Control
InteractiveHost32 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
41
control = new
Control
();
InteractiveHost64 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
41
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)
413
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)
118
:
base
()
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
47
public Splitter() :
base
()
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
81
:
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)
41
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 (76)
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\Behavior\SnapLineTests.cs (1)
247
using Control control =
new
();
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)
20
_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.Tests (1970)
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)
995
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)
292
yield return new object[] { new
Control
(), string.Empty, string.Empty };
293
yield return new object[] { new
Control
(), "text", "text" };
388
yield return new object[] { new
Control
(), string.Empty, 0, 0, 0, 0, string.Empty };
389
yield return new object[] { new
Control
(), "text", 1, 2, 3, 4, "text" };
574
using Control parent =
new
();
599
using Control parent =
new
();
1217
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
();
518
using Control parent =
new
();
579
using Control control =
new
()
705
using Control parent =
new
();
793
using Control parent =
new
();
794
using Control control =
new
()
798
using Control child1 =
new
()
802
using Control child2 =
new
()
806
using Control grandchild1 =
new
()
810
using Control otherParent =
new
();
811
using Control otherControl =
new
()
815
using Control emptyControl =
new
();
858
using Control parent =
new
();
988
using Control control =
new
();
1033
using Control parent =
new
();
1036
using Control control =
new
()
1086
using Control control =
new
();
1087
using Control child1 =
new
();
1088
using Control child2 =
new
();
1164
using Control control =
new
();
1211
using Control control =
new
();
1831
using Control control =
new
();
1839
using Control control =
new
();
1948
using Control control =
new
();
1957
using Control control =
new
();
2075
using Control control =
new
();
2095
using Control control =
new
();
2109
using Control control =
new
();
2116
using Control grandparent =
new
();
2117
using Control parent =
new
()
2121
using Control control =
new
()
2138
using Control parent =
new
()
2142
using Control control =
new
()
2159
using Control control =
new
()
2177
using Control parent =
new
()
2181
using Control control =
new
()
2199
using Control parent =
new
()
2203
using Control control =
new
()
2220
using Control cont =
new
();
2221
using Control first =
new
()
2225
using Control second =
new
()
2229
using Control third =
new
()
2248
using Control cont =
new
();
2249
using Control first =
new
()
2253
using Control second =
new
()
2257
using Control third =
new
()
2276
using Control cont =
new
();
2277
using Control first =
new
()
2281
using Control second =
new
()
2285
using Control third =
new
()
2304
using Control cont =
new
();
2305
using Control first =
new
()
2309
using Control second =
new
()
2313
using Control third =
new
()
2342
using Control control =
new
();
2355
using Control control =
new
()
2394
using Control control =
new
()
2543
.Returns(new
Control
());
2879
using Control control =
new
()
2894
using Control control =
new
()
2970
_layoutEngine = new
Control
().LayoutEngine;
3769
using Control control =
new
();
3794
using Control control =
new
();
3820
using Control control =
new
();
3849
using Control control =
new
();
3883
using Control control =
new
();
3919
using Control control =
new
();
3952
using Control control =
new
();
3985
using Control control =
new
();
4011
using Control control =
new
();
4038
using Control control =
new
();
4073
using Control control =
new
();
4103
using Control control =
new
();
4145
using Control control =
new
();
4154
using Control control =
new
();
4166
using Control otherControl =
new
();
4290
using Control otherControlParent =
new
();
4342
using Control otherControl =
new
();
4745
using Control control =
new
();
4799
using Control parent =
new
();
4800
using Control control =
new
()
4834
using Control parent =
new
();
4928
control.PerformLayout(new
Control
(), "OtherAffectedProperty");
4932
control.PerformLayout(new
Control
(), "OtherAffectedProperty");
4951
using Control control =
new
();
4990
yield return new object[] { new
Control
(), string.Empty };
4991
yield return new object[] { new
Control
(), "AffectedProperty" };
4998
using Control control =
new
();
5054
using Control parent =
new
();
5055
using Control control =
new
()
5087
yield return new object[] { true, new
Control
(), string.Empty, 1 };
5088
yield return new object[] { true, new
Control
(), "AffectedProperty", 1 };
5091
yield return new object[] { false, new
Control
(), string.Empty, 0 };
5092
yield return new object[] { false, new
Control
(), "AffectedProperty", 0 };
5099
using Control parent =
new
();
5150
yield return new object[] { true, new
Control
(), string.Empty, 1 };
5151
yield return new object[] { true, new
Control
(), "AffectedProperty", 1 };
5154
yield return new object[] { false, new
Control
(), string.Empty, 0 };
5155
yield return new object[] { false, new
Control
(), "AffectedProperty", 0 };
5202
control.PerformLayout(new
Control
(), "OtherAffectedProperty");
5206
control.PerformLayout(new
Control
(), "OtherAffectedProperty");
5225
using Control control =
new
();
5252
control.PerformLayout(new
Control
(), "AffectedProperty");
5267
Assert.Throws<NullReferenceException>(() => control.PerformLayout(new
Control
(), "AffectedProperty"));
5345
using Control parent =
new
();
5522
using Control parent =
new
();
5575
using Control parent =
new
();
5623
using Control parent =
new
();
5723
using Control parent =
new
();
6014
using Control parent =
new
();
6222
using Control parent =
new
();
6308
using Control control =
new
();
6320
using Control control =
new
();
6361
using Control control =
new
();
6419
using Control control =
new
();
6439
using Control control =
new
();
6553
yield return new object[] { new
Control
(), string.Empty, true, 1 };
6554
yield return new object[] { new
Control
(), "AffectedProperty", true, 1 };
6557
yield return new object[] { new
Control
(), string.Empty, false, 0 };
6558
yield return new object[] { new
Control
(), "AffectedProperty", false, 0 };
6565
using Control control =
new
();
6593
using Control control =
new
();
6607
control.PerformLayout(new
Control
(), "AnotherAffectedProperty");
6623
using Control control =
new
();
6643
using Control control =
new
();
6673
using Control control =
new
();
6688
control.PerformLayout(new
Control
(), "AnotherAffectedProperty");
6704
using Control control =
new
();
6727
using Control child =
new
();
6756
using Control control =
new
();
6775
using Control child =
new
();
6802
using Control control =
new
();
7003
using Control parent =
new
();
7004
using Control child1 =
new
();
7005
using Control child2 =
new
();
7045
using Control parent =
new
();
7046
using Control child1 =
new
();
7047
using Control child2 =
new
();
7100
using Control parent =
new
();
7101
using Control child1 =
new
();
7102
using Control child2 =
new
();
7167
using Control parent =
new
();
7169
using Control child2 =
new
();
7288
using Control parent =
new
();
7661
using Control parent =
new
();
7918
using Control parent =
new
();
8518
using Control parent =
new
();
8775
using Control parent =
new
();
9315
using Control parent =
new
();
9613
using Control parent =
new
();
10099
using Control parent =
new
();
10202
using Control control =
new
()
10220
using Control control =
new
()
10251
using Control control =
new
();
10268
using Control control =
new
();
10298
using Control control =
new
();
10305
using Control control =
new
();
10317
using Control control =
new
();
11218
using Control parent =
new
();
11456
using Control parent =
new
();
11704
using Control parent =
new
();
11954
using Control parent =
new
();
12163
using Control parent =
new
();
12182
using Control parent =
new
();
12214
using Control parent =
new
();
12247
using Control parent =
new
();
12291
using Control parent =
new
();
12292
using Control child1 =
new
();
12338
using Control parent =
new
();
12527
using Control control =
new
();
12601
using Control control =
new
();
14222
using Control grandparent =
new
();
14310
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
();
111
using Control control =
new
()
128
using Control control =
new
()
145
using Control control =
new
()
162
using Control control =
new
()
179
using Control control =
new
();
187
using Control control =
new
()
209
using Control control =
new
();
246
using Control control =
new
();
286
using Control control =
new
();
341
using Control control =
new
();
363
using Control control =
new
()
414
using Control parent =
new
();
415
using Control control =
new
()
459
using Control grandparent =
new
();
460
using Control parent =
new
()
464
using Control control =
new
()
560
using Control parent =
new
();
561
using Control control =
new
()
679
using Control grandparent =
new
();
680
using Control parent =
new
()
684
using Control control =
new
()
771
using Control control =
new
()
825
using Control parent =
new
();
826
using Control control =
new
()
873
using Control control =
new
();
908
using Control control =
new
()
923
using Control control =
new
();
950
using Control parent =
new
();
951
using Control control =
new
()
1005
using Control control =
new
()
1068
using Control control =
new
();
1111
using Control parent =
new
();
1112
using Control control =
new
()
1194
using Control control =
new
()
1233
using Control control =
new
()
1250
using Control control =
new
()
1293
using Control child1 =
new
();
1294
using Control child2 =
new
();
1295
using Control control =
new
();
1317
using Control child1 =
new
()
1321
using Control child2 =
new
()
1325
using Control control =
new
();
1353
using Control control =
new
();
1381
using Control control =
new
();
1416
using Control control =
new
();
1441
using Control child1 =
new
();
1442
using Control child2 =
new
();
1443
using Control control =
new
();
1521
using Control child1 =
new
()
1525
using Control child2 =
new
()
1529
using Control control =
new
();
1601
using Control control =
new
();
1609
using Control control =
new
();
1625
using Control control =
new
();
1641
using Control control =
new
()
1664
using Control control =
new
();
1693
using Control child1 =
new
();
1694
using Control child2 =
new
();
1695
using Control control =
new
();
1717
using Control child1 =
new
()
1721
using Control child2 =
new
()
1725
using Control control =
new
();
1744
using Control control =
new
();
1786
using Control control =
new
();
1812
using Control child1 =
new
();
1813
using Control child2 =
new
();
1814
using Control control =
new
();
1899
using Control child1 =
new
()
1903
using Control child2 =
new
()
1907
using Control control =
new
();
2077
using Control control =
new
();
2112
using Control control =
new
();
2138
using Control control =
new
();
2146
using Control parent =
new
()
2150
using Control control =
new
()
2165
using Control control =
new
()
2182
using Control control =
new
()
2199
using Control control =
new
()
2217
using Control control =
new
();
2259
using Control child1 =
new
();
2260
using Control child2 =
new
();
2261
using Control control =
new
();
2346
using Control child1 =
new
()
2350
using Control child2 =
new
()
2354
using Control control =
new
();
2697
using Control parent =
new
();
2908
using Control parent =
new
();
3051
using Control control =
new
()
3067
using Control control =
new
()
3082
using Control parent =
new
()
3087
using Control control =
new
()
3101
using Control control =
new
()
3117
using Control parent =
new
()
3122
using Control control =
new
()
3134
using Control control =
new
()
3156
using Control control =
new
();
3193
using Control control =
new
()
3215
using Control control =
new
();
3251
using Control control =
new
()
3288
yield return new object[] { new
Control
(), Size.Empty };
3330
using Control control =
new
();
3488
using Control control =
new
();
3542
using Control control =
new
()
3560
using Control control =
new
()
3578
using Control control =
new
()
3593
using Control control =
new
()
3609
using Control control =
new
();
3651
yield return new object[] { new Control.ControlCollection(new
Control
()) };
3678
using Control control =
new
();
3684
using Control child =
new
();
3698
using Control control =
new
();
3704
using Control child =
new
();
3718
using Control control =
new
()
3734
using Control parent =
new
()
3738
using Control control =
new
()
3758
using Control control =
new
()
3786
using Control parent =
new
()
3812
using Control control =
new
()
3829
using Control control =
new
();
3858
using Control child1 =
new
();
3859
using Control child2 =
new
();
3860
using Control control =
new
();
3882
using Control child1 =
new
()
3886
using Control child2 =
new
()
3890
using Control control =
new
();
3909
using Control control =
new
();
3951
using Control child1 =
new
();
3952
using Control child2 =
new
();
3953
using Control control =
new
();
4038
using Control child1 =
new
()
4042
using Control child2 =
new
()
4046
using Control control =
new
();
4130
using Control control =
new
();
4152
using Control control =
new
()
4187
using Control parent =
new
();
4188
using Control control =
new
()
4277
using Control parent =
new
();
4278
using Control control =
new
()
4334
using Control control =
new
()
4353
using Control control =
new
();
4387
using Control control =
new
()
4426
using Control control =
new
();
4508
using Control control =
new
()
4571
using Control control =
new
()
4609
using Control child1 =
new
();
4610
using Control child2 =
new
();
4611
using Control control =
new
()
4686
using Control child1 =
new
()
4690
using Control child2 =
new
()
4694
using Control control =
new
()
4770
using Control control =
new
();
4786
using Control control =
new
();
4803
using Control parent =
new
()
4807
using Control control =
new
()
4827
using Control control =
new
()
5026
using Control control =
new
();
5068
using Control child1 =
new
();
5069
using Control child2 =
new
();
5070
using Control control =
new
();
5155
using Control child1 =
new
()
5159
using Control child2 =
new
()
5163
using Control control =
new
();
5247
using Control control =
new
();
5272
using Control control =
new
();
5297
using Control control =
new
()
5314
using Control control =
new
()
5333
using Control child1 =
new
();
5334
using Control child2 =
new
();
5335
using Control control =
new
();
5357
using Control child1 =
new
()
5361
using Control child2 =
new
()
5365
using Control control =
new
();
5394
using Control control =
new
();
5422
using Control control =
new
();
5457
using Control control =
new
();
5482
using Control child1 =
new
();
5483
using Control child2 =
new
();
5484
using Control control =
new
();
5562
using Control child1 =
new
()
5566
using Control child2 =
new
()
5570
using Control control =
new
();
5643
using Control control =
new
();
5659
using Control control =
new
();
5674
using Control cont =
new
();
5974
using Control parent =
new
();
6209
using Control parent =
new
();
6367
using Control control =
new
()
6384
using Control control =
new
();
6412
using Control control =
new
();
6448
using Control control =
new
();
6562
using Control control =
new
();
6575
using Control control =
new
();
6589
using Control control =
new
()
6610
using Control control =
new
();
6641
using Control control =
new
();
6744
using Control parent =
new
();
6938
using Control parent =
new
();
7091
using Control control =
new
();
7149
using Control control =
new
();
7223
using Control parent =
new
();
7421
using Control parent =
new
();
7577
using Control control =
new
();
7601
using Control control =
new
();
7624
using Control control =
new
();
7677
yield return new object[] { new
Control
(), new Padding(3) };
7711
using Control control =
new
();
7731
using Control parent =
new
();
7732
using Control control =
new
()
7761
using Control control =
new
();
7800
using Control parent =
new
();
7801
using Control control =
new
()
7855
using Control control =
new
();
7871
using Control control =
new
();
7885
yield return new object[] { new
Control
(), Size.Empty };
7933
using Control control =
new
();
7955
using Control control =
new
()
8001
using Control control =
new
()
8032
using Control control =
new
()
8057
using Control control =
new
()
8104
using Control parent =
new
();
8105
using Control control =
new
()
8159
using Control parent =
new
();
8160
using Control control =
new
()
8202
using Control control =
new
();
8237
using Control control =
new
()
8275
using Control control =
new
()
8313
using Control parent =
new
();
8314
using Control control =
new
()
8380
using Control parent =
new
();
8381
using Control control =
new
()
8448
using Control control =
new
();
8472
using Control control =
new
();
8494
yield return new object[] { new
Control
(), Size.Empty };
8542
using Control control =
new
();
8586
using Control control =
new
()
8639
using Control control =
new
()
8670
using Control control =
new
()
8701
using Control control =
new
()
8748
using Control parent =
new
();
8749
using Control control =
new
()
8809
using Control parent =
new
();
8810
using Control control =
new
()
8874
using Control control =
new
();
8931
using Control control =
new
()
8997
using Control control =
new
()
9056
using Control parent =
new
();
9057
using Control control =
new
()
9144
using Control parent =
new
();
9145
using Control control =
new
()
9218
using Control control =
new
();
9242
using Control control =
new
();
9304
using Control control =
new
()
9320
using Control control =
new
()
9337
using Control control =
new
()
9372
using Control control =
new
()
9389
yield return new object[] { new
Control
(), Padding.Empty };
9417
using Control control =
new
();
9443
using Control parent =
new
();
9444
using Control control =
new
()
9541
using Control parent =
new
();
9612
using Control control =
new
();
9650
using Control control =
new
();
9666
using Control control =
new
();
9681
yield return new object[] { new
Control
() };
9689
using Control control =
new
()
9706
using Control oldParent =
new
();
9707
using Control control =
new
()
9727
using Control parent =
new
();
9728
using Control control =
new
()
9747
using Control control =
new
();
9775
using Control parent =
new
();
9776
using Control control =
new
();
9811
using Control control =
new
();
9819
using Control child =
new
();
9820
using Control control =
new
();
9830
using Control parent =
new
();
9841
using Control control =
new
();
9842
using Control child =
new
()
9860
using Control child =
new
()
9882
using Control control =
new
()
9900
using Control control =
new
()
9922
using Control control =
new
();
9952
using Control control =
new
()
9986
using Control control =
new
();
10061
using Control control =
new
()
10078
using Control control =
new
()
10097
using Control child1 =
new
();
10098
using Control child2 =
new
();
10099
using Control control =
new
();
10121
using Control child1 =
new
()
10125
using Control child2 =
new
()
10129
using Control control =
new
();
10153
using Control control =
new
();
10184
using Control control =
new
()
10215
using Control control =
new
();
10250
using Control control =
new
();
10275
using Control child1 =
new
();
10276
using Control child2 =
new
()
10280
using Control control =
new
();
10358
using Control child1 =
new
()
10362
using Control child2 =
new
()
10366
using Control control =
new
();
10439
using Control control =
new
();
10447
using Control control =
new
();
10475
using Control control =
new
();
10653
using Control control =
new
()
10670
using Control control =
new
();
10706
using Control control =
new
()
10783
using Control control =
new
();
10959
using Control control =
new
()
11373
using Control parent =
new
();
11618
using Control parent =
new
();
11758
using Control control =
new
();
11782
using Control control =
new
();
11808
using Control control =
new
()
11824
using Control control =
new
()
11862
using Control control =
new
();
11870
using Control control =
new
()
11892
using Control control =
new
();
11928
using Control control =
new
()
11967
using Control control =
new
()
11984
using Control control =
new
();
12012
using Control control =
new
();
12048
using Control control =
new
();
12075
using Control control =
new
();
12178
using Control parent =
new
();
12370
using Control parent =
new
();
12523
using Control control =
new
();
12571
using Control grandparent =
new
();
12572
using Control parent =
new
()
12576
using Control control =
new
()
12590
using Control parent =
new
()
12594
using Control control =
new
()
12607
using Control control =
new
()
12629
using Control control =
new
();
12630
using Control child1 =
new
();
12631
using Control child2 =
new
();
12660
using Control control =
new
();
12700
using Control parent =
new
()
12704
using Control item =
new
()
12719
using Control control =
new
()
12741
using Control parent =
new
();
12742
using Control control =
new
()
12815
using Control parent =
new
();
12816
using Control control =
new
()
12873
using Control control =
new
()
12911
using Control child1 =
new
();
12912
using Control child2 =
new
();
12913
using Control control =
new
()
12988
using Control child1 =
new
()
12992
using Control child2 =
new
()
12996
using Control control =
new
()
13072
using Control control =
new
();
13088
using Control control =
new
();
13393
using Control parent =
new
();
13628
using Control parent =
new
();
13767
using Control cont =
new
();
13779
using Control control =
new
()
13794
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)
928
yield return new object[] { new
Control
() };
956
using Control oldParent =
new
();
1107
yield return new object[] { new
Control
() };
1139
using Control parent =
new
();
1193
using Control parent =
new
();
1244
using Control parent =
new
();
2641
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\WebBrowserContainerTests.cs (3)
16
using Control control =
new
()
33
using Control control =
new
()
98
using Control control =
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 LayoutEventArgs(new
Control
(), "affectedProperty")
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
64
:
base
()