295 references to New
Microsoft.VisualBasic.Forms (3)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
26
MyBase.
New
()
31
MyBase.
New
()
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
49
MyBase.
New
()
Microsoft.VisualBasic.Forms.Tests (5)
System\Windows\Forms\WindowsFormsApplicationBaseTests.vb (5)
55
Using form1 As New
Form
64
Using form1 As New
Form
72
Using splashScreenForm As New
Form
73
Using form2 As New
Form
120
Using form1 As New
Form
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
52
internal DropDownHolder(PropertyGridView gridView) :
base
()
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
43
public ComponentEditorForm(object component, Type[] pageTypes) :
base
()
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
24
:
base
()
System.Windows.Forms.Design.Tests (4)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (1)
613
using Form form =
new
();
System\Windows\Forms\Design\EditorServiceContextTests.cs (1)
180
DialogResult result = mockEditorService.Object.ShowDialog(new
Form
());
System\Windows\Forms\Design\InheritanceUITests.cs (1)
24
_form = new
Form
();
System\Windows\Forms\Design\ToolStripActionListTests.cs (1)
139
_toolStrip.Parent = new
Form
();
System.Windows.Forms.Tests (233)
NumericUpDownTests.cs (3)
30
using Form form =
new
();
73
using Form form =
new
();
109
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (5)
545
using Form form =
new
();
573
using Form form =
new
();
596
using Form form =
new
();
2619
using Form form =
new
();
2651
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
1694
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (1)
550
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (1)
352
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\ErrorProviderAccessibleObjectTests.cs (1)
25
_form = new
Form
();
System\Windows\Forms\AccessibleObjects\Form.FormAccessibleObjectTests.cs (9)
18
using Form form =
new
();
28
using Form form =
new
();
42
using Form form =
new
();
60
using Form form =
new
();
94
using Form form =
new
();
107
using Form form =
new
();
174
using Form form =
new
();
193
using Form form =
new
();
194
using Form embeddedForm =
new
() { TopLevel = false };
System\Windows\Forms\AccessibleObjects\ListBox.ListBoxItemAccessibleObjectTests.cs (1)
18
using Form form =
new
()
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (2)
135
using Form form =
new
();
344
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
277
using Form form =
new
();
320
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (2)
186
using Form form =
new
();
216
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (1)
261
using Form form =
new
();
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
528
using Form form =
new
();
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
41
Form form =
new
();
System\Windows\Forms\ApplicationContextTests.cs (6)
22
yield return new object[] { new
Form
() };
56
MainForm = new
Form
()
173
using Form mainForm =
new
();
187
using Form mainForm =
new
();
250
using Form mainForm =
new
();
264
using Form mainForm =
new
();
System\Windows\Forms\ApplicationTests.cs (6)
391
using Form mainForm = new
Form
();
406
AddMDI(new
Form
());
446
var child = new
Form
529
using Form mainForm = new
Form
();
561
Form other = new
Form
() { Text = "Child" };
627
Form add = new
Form
() { Text = "Add" };
System\Windows\Forms\AxHost.VisualBasic6Tests.cs (1)
20
using Form form =
new
();
System\Windows\Forms\AxSystemMonitorTests.cs (1)
18
_form = new
Form
();
System\Windows\Forms\AxWebBrowserTests.cs (1)
20
_form = new
Form
();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
272
{ new
Form
(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\ButtonRenderingTests.cs (1)
216
using Form form =
new
();
System\Windows\Forms\ButtonTests.cs (4)
1936
using Form form =
new
();
2018
using Form form =
new
();
3120
using Form form =
new
();
3198
using Form form =
new
();
System\Windows\Forms\CheckBoxRendererTests.cs (4)
20
using Form form =
new
();
56
using Form form =
new
();
93
using Form form =
new
();
129
using Form form =
new
();
System\Windows\Forms\CheckBoxTests.cs (2)
817
using Form form =
new
();
847
using Form form =
new
();
System\Windows\Forms\ControlBindingsCollectionTests.cs (1)
92
using Form control =
new
();
System\Windows\Forms\ControlTests.cs (4)
927
using Form form =
new
() { RightToLeft = rightToLeft, };
984
using Form form =
new
() { RightToLeft = rightToLeft };
1039
using Form form =
new
();
1099
using Form form =
new
();
System\Windows\Forms\ControlTests.Internals.cs (1)
417
using Form form =
new
();
System\Windows\Forms\ControlTests.Methods.cs (1)
1936
Form form =
new
();
System\Windows\Forms\ControlTests.Properties.cs (1)
9680
yield return new object[] { new
Form
() };
System\Windows\Forms\DataGridViewCellTests.cs (7)
202
using Form form =
new
();
845
using Form form =
new
();
881
using Form form =
new
();
4049
using Form form =
new
();
4092
using Form form =
new
();
4356
using Form form =
new
();
5148
using Form form =
new
();
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2415
using Form form =
new
();
3682
using Form form =
new
();
System\Windows\Forms\DataGridViewRowTests.cs (8)
110
using Form form =
new
();
328
using Form form =
new
();
355
using Form form =
new
();
943
using Form form =
new
();
1873
using Form form =
new
();
2342
using Form form =
new
();
4334
using Form form =
new
();
4459
using Form form =
new
();
System\Windows\Forms\DataGridViewTests.cs (1)
2323
using Form form = new
Form
System\Windows\Forms\DataGridViewTests.Rendering.cs (2)
18
using Form form =
new
();
107
using Form form = new
Form
System\Windows\Forms\ErrorProviderTests.cs (2)
857
yield return new object[] { new
Form
(), false };
1317
using Form form =
new
();
System\Windows\Forms\Form.ControlCollectionTests.cs (1)
13
using Form owner =
new
();
System\Windows\Forms\FormTests.cs (89)
196
using Form form =
new
();
213
using Form form =
new
();
226
using Form form =
new
()
254
using Form form =
new
();
255
using Form child =
new
();
266
using Form form =
new
();
267
using Form child =
new
()
282
using Form form =
new
();
283
using Form child =
new
()
297
using Form form =
new
();
298
using Form child =
new
()
313
using Form control =
new
()
347
using Form control =
new
()
377
using Form control =
new
()
407
using Form control =
new
();
456
using Form control =
new
()
504
using Form control =
new
()
552
using Form form =
new
()
569
using Form form =
new
()
584
using Form form =
new
()
599
using Form form =
new
()
626
using Form control =
new
()
660
using Form control =
new
()
683
using Form control =
new
()
715
using Form control =
new
();
751
using Form control =
new
()
797
using Form control =
new
();
842
using Form control =
new
();
892
using Form control =
new
()
929
yield return new object[] { new
Form
() };
936
using Form control =
new
()
957
using Form control =
new
()
985
using Form form =
new
();
1014
using Form form =
new
();
1043
using Form mainForm =
new
();
1046
using Form formAsControl =
new
()
1068
using Form form =
new
();
1077
using Form form =
new
();
1091
using Form form =
new
();
1114
using Form oldParent =
new
()
1118
using Form control =
new
()
1140
using Form control =
new
()
1160
using Form control =
new
()
1194
using Form control =
new
()
1232
using Form control =
new
()
1243
using Form control =
new
();
1252
using Form oldParent =
new
()
1256
using Form control =
new
()
1260
using Form parent =
new
();
1269
using Form parent =
new
();
1276
using Form control =
new
();
1318
using Form control =
new
()
1350
using Form control =
new
()
1384
using Form control =
new
()
1417
using Form control =
new
()
1439
using Form control =
new
()
1461
using Form control =
new
();
1500
using Form control =
new
();
1532
using Form control =
new
()
1574
using Form control =
new
()
1609
using Form control =
new
();
1643
using Form control =
new
();
1676
using Form control =
new
()
1712
using Form control =
new
()
1747
using Form control =
new
();
1781
using Form control =
new
();
1826
using Form control =
new
()
1864
using Form form =
new
()
1902
using Form control =
new
()
1941
using Form parent =
new
()
1946
using Form control =
new
()
1975
using Form control =
new
()
2023
using Form parent =
new
()
2028
using Form control =
new
()
2075
using Form parent =
new
()
2080
using Form control =
new
()
2127
using Form parent =
new
()
2131
using Form control =
new
()
2169
using Form control =
new
()
2224
using Form parent =
new
()
2229
using Form control =
new
()
2277
using Form parent =
new
()
2281
using Form control =
new
()
2330
using Form control =
new
()
2388
using Form control =
new
()
2640
using Form parent =
new
();
2645
using Form child =
new
();
2671
using Form parent =
new
() { IsMdiContainer = true };
2672
using Form mdiChild =
new
() { MdiParent = parent };
System\Windows\Forms\LabelTests.cs (1)
290
using Form form =
new
();
System\Windows\Forms\MdiControlStripTests.cs (11)
19
using Form form =
new
();
159
using Form form =
new
();
177
using Form form =
new
();
204
using Form mdiParent =
new
()
211
using Form mdiChild =
new
()
250
using Form mdiParent =
new
()
257
using Form mdiChild =
new
()
295
using Form mdiParent =
new
() { IsMdiContainer = true };
296
using Form mdiChild =
new
()
317
using Form mdiParent =
new
() { IsMdiContainer = true, Text = "Parent" };
318
using Form mdiChild =
new
() { MdiParent = mdiParent, Text = "Child" };
System\Windows\Forms\MixedDpiHostingTests.cs (1)
26
using Form form =
new
();
System\Windows\Forms\NativeWindowTests.cs (1)
31
using Form control =
new
();
System\Windows\Forms\PictureBoxTests.cs (1)
1120
yield return new object[] { new
Form
() };
System\Windows\Forms\PropertyGridInternal\GridToolTipTests.cs (1)
82
using Form form =
new
();
System\Windows\Forms\RadioButtonRendererTests.cs (5)
18
using Form form = new
Form
();
49
using Form form = new
Form
();
86
using Form form = new
Form
();
115
using Form form = new
Form
();
201
using Form parent =
new
();
System\Windows\Forms\ScrollBarTests.cs (2)
3109
Form form =
new
();
3128
Form form =
new
();
System\Windows\Forms\SplitterPanelTests.cs (1)
716
yield return new object[] { new
Form
() };
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
16
using Form form =
new
();
System\Windows\Forms\TabControlTests.cs (1)
5711
using Form form =
new
();
System\Windows\Forms\TextBoxRendererTests.cs (3)
26
using Form form =
new
();
55
using Form form =
new
();
90
using Form form =
new
();
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
16
using Form form =
new
();
42
using Form form =
new
();
68
using Form form =
new
();
94
using Form form =
new
();
120
using Form form =
new
();
147
using Form form =
new
();
System\Windows\Forms\ToolStripContainer.ToolStripContainerTypedControlCollectionTests.cs (2)
48
using Form form =
new
();
123
using Form form =
new
();
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
112
using Form form =
new
();
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (1)
16
using Form form =
new
();
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
13
using Form mainForm =
new
();
System\Windows\Forms\ToolStripTests.cs (2)
1628
using Form form =
new
();
1648
using Form form =
new
();
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
16
using Form form =
new
();
System\Windows\Forms\ToolTipTests.cs (2)
838
using Form form =
new
();
879
using Form form =
new
();
System\Windows\Forms\UnsupportedTypesTests.cs (7)
118
using Form form =
new
();
127
using Form form =
new
();
142
using Form form =
new
();
149
using Form form =
new
();
157
using Form form =
new
();
169
using Form form =
new
();
177
using Form form =
new
();
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (1)
505
using Form form =
new
();
System\Windows\Forms\WebBrowserTests.cs (1)
4760
using Form form =
new
();
TextBoxTests.Rendering.cs (1)
18
using Form form =
new
();
System.Windows.Forms.UI.IntegrationTests (41)
AnchorLayoutTests.cs (1)
272
Form form =
new
()
ApplicationTests.cs (2)
21
using Form child =
new
() { RightToLeft = RightToLeft.No };
45
return
new
()
ButtonTests.cs (1)
409
return
new
()
DataGridViewTests.cs (3)
47
using Form form1 =
new
();
48
using Form form2 =
new
();
137
return
new
()
Dpi\FormDpiTests.cs (7)
29
using Form form =
new
();
68
using Form form =
new
();
102
using Form form =
new
();
136
using Form form =
new
();
172
using Form form =
new
();
204
using Form form =
new
();
232
using Form form =
new
();
Dpi\SplitContainerTests.cs (1)
44
using Form form =
new
();
Dpi\ToolStripItemTests.Dpi.cs (1)
33
using Form form =
new
();
DragDropTests.cs (3)
65
await RunFormWithoutControlAsync(() => new
Form
(), async (form) =>
281
await RunFormWithoutControlAsync(() => new
Form
(), async (form) =>
500
await RunFormWithoutControlAsync(() => new
Form
(), async (form) =>
FormTests.cs (1)
146
Form form =
new
()
ImageListTests.cs (1)
108
Form form =
new
()
Infra\ControlTestBase.cs (3)
221
Form form =
new
()
243
form =
new
();
269
Form form =
new
()
ListBoxAccesibleObjectTests.cs (3)
14
using Form form =
new
();
35
using Form form =
new
();
49
using Form form =
new
();
ListBoxItemAccessibleObjestTests.cs (3)
14
using Form form =
new
();
37
using Form formDoubleClick =
new
();
52
using Form form =
new
();
ListViewTests.cs (1)
647
return
new
()
MDITests.cs (3)
20
using Form childForm =
new
()
42
using Form childForm =
new
()
66
return
new
()
MenuStripTests.cs (1)
14
using Form form =
new
();
MonthCalendarTests.cs (2)
216
return
new
()
238
return
new
()
PropertyGridTests.cs (1)
22
_form =
new
() { Controls = { _propertyGrid } };
RichTextBoxTests.cs (1)
249
return
new
()
ToolStripTests.cs (2)
30
using Form form =
new
();
66
using Form form =
new
();
VisualBasicRuntimeTest (1)
Program.cs (1)
81
Form mainForm =
new
();
WinFormsControlsTest (5)
FormOwnerTestForm.cs (1)
63
Form child =
new
();
FormShowInTaskbar.cs (1)
31
using Form form =
new
()
MdiChild.cs (1)
28
Form frm =
new
()
MdiParent.cs (1)
22
Form child =
new
()
RichTextBoxes.cs (1)
119
Form prompt =
new
()