104 references to new
System.Windows.Forms (1)
System\Windows\Forms\ContextMenuStrip.cs (1)
50
ContextMenuStrip contextMenuStrip =
new
();
System.Windows.Forms.Design (1)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
68
ContextMenuStrip addDownMenu =
new
();
System.Windows.Forms.Tests (100)
ContextMenuStripTests.cs (1)
14
using ContextMenuStrip cms =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (2)
289
using ContextMenuStrip contextMenu =
new
();
323
using ContextMenuStrip contextMenu =
new
();
System\Windows\Forms\ControlTests.Methods.cs (2)
12567
using ContextMenuStrip menu =
new
();
12639
using ContextMenuStrip menu =
new
();
System\Windows\Forms\ControlTests.Properties.cs (7)
3531
yield return new object[] { new
ContextMenuStrip
() };
3555
ContextMenuStrip oldValue =
new
();
3573
using ContextMenuStrip menu =
new
();
3587
using ContextMenuStrip menu1 =
new
();
3588
using ContextMenuStrip menu2 =
new
();
3616
using ContextMenuStrip menu1 =
new
();
3627
using ContextMenuStrip menu2 =
new
();
System\Windows\Forms\DataGridViewCellContextMenuStripNeededEventArgsTests.cs (1)
36
yield return new object[] { new
ContextMenuStrip
() };
System\Windows\Forms\DataGridViewCellTests.cs (24)
109
yield return new object[] { new
ContextMenuStrip
() };
158
using ContextMenuStrip menu1 =
new
();
159
using ContextMenuStrip menu2 =
new
();
192
using ContextMenuStrip menu1 =
new
();
193
using ContextMenuStrip menu2 =
new
();
319
using ContextMenuStrip menu1 =
new
();
330
using ContextMenuStrip menu2 =
new
();
351
using ContextMenuStrip menu =
new
();
364
using ContextMenuStrip menu1 =
new
();
368
using ContextMenuStrip menu2 =
new
();
3316
using ContextMenuStrip menu =
new
();
3499
using ContextMenuStrip menu =
new
();
3536
using ContextMenuStrip menu =
new
();
4188
using ContextMenuStrip cellMenu =
new
();
4199
yield return new object[] { -2, new
ContextMenuStrip
() };
4201
yield return new object[] { -1, new
ContextMenuStrip
() };
4203
yield return new object[] { 0, new
ContextMenuStrip
() };
4227
using ContextMenuStrip cellMenu =
new
();
4239
yield return new object[] { new
ContextMenuStrip
() };
4281
using ContextMenuStrip cellMenu =
new
();
4312
using ContextMenuStrip menu1 =
new
();
4313
using ContextMenuStrip menu2 =
new
();
4346
using ContextMenuStrip menu1 =
new
();
4347
using ContextMenuStrip menu2 =
new
();
System\Windows\Forms\DataGridViewColumnTests.cs (7)
520
yield return new object[] { new
ContextMenuStrip
() };
542
using ContextMenuStrip oldValue =
new
();
581
using ContextMenuStrip menu =
new
();
595
using ContextMenuStrip menu1 =
new
();
596
using ContextMenuStrip menu2 =
new
();
630
using ContextMenuStrip menu1 =
new
();
641
using ContextMenuStrip menu2 =
new
();
System\Windows\Forms\DataGridViewHeaderCellTests.cs (17)
2021
using ContextMenuStrip menu =
new
();
2107
using ContextMenuStrip menu =
new
();
2206
using ContextMenuStrip cellMenu =
new
();
2217
yield return new object[] { -2, new
ContextMenuStrip
() };
2219
yield return new object[] { -1, new
ContextMenuStrip
() };
2221
yield return new object[] { 0, new
ContextMenuStrip
() };
2245
using ContextMenuStrip cellMenu =
new
();
2257
yield return new object[] { -2, new
ContextMenuStrip
() };
2259
yield return new object[] { -1, new
ContextMenuStrip
() };
2261
yield return new object[] { 0, new
ContextMenuStrip
() };
2263
yield return new object[] { 1, new
ContextMenuStrip
() };
2305
using ContextMenuStrip cellMenu =
new
();
2340
using ContextMenuStrip cellMenu =
new
();
2374
using ContextMenuStrip menu1 =
new
();
2375
using ContextMenuStrip menu2 =
new
();
2408
using ContextMenuStrip menu1 =
new
();
2409
using ContextMenuStrip menu2 =
new
();
System\Windows\Forms\DataGridViewRowContextMenuStripNeededEventArgsTests.cs (1)
29
yield return new object[] { new
ContextMenuStrip
() };
System\Windows\Forms\DataGridViewRowTests.cs (22)
66
using ContextMenuStrip menu1 =
new
();
67
using ContextMenuStrip menu2 =
new
();
100
using ContextMenuStrip menu1 =
new
();
101
using ContextMenuStrip menu2 =
new
();
149
yield return new object[] { new
ContextMenuStrip
() };
171
using ContextMenuStrip oldValue =
new
();
230
using ContextMenuStrip menu =
new
();
244
using ContextMenuStrip menu1 =
new
();
245
using ContextMenuStrip menu2 =
new
();
278
using ContextMenuStrip menu1 =
new
();
289
using ContextMenuStrip menu2 =
new
();
3923
using ContextMenuStrip menu =
new
();
3963
using ContextMenuStrip menu =
new
();
4006
using ContextMenuStrip menu =
new
();
4172
ContextMenuStrip = new
ContextMenuStrip
()
4258
using ContextMenuStrip menu =
new
();
4274
using ContextMenuStrip menu1 =
new
();
4277
using ContextMenuStrip menu2 =
new
();
4290
using ContextMenuStrip menu1 =
new
();
4291
using ContextMenuStrip menu2 =
new
();
4324
using ContextMenuStrip menu1 =
new
();
4325
using ContextMenuStrip menu2 =
new
();
System\Windows\Forms\NotifyIconTests.cs (3)
141
yield return new object[] { new
ContextMenuStrip
() };
163
using ContextMenuStrip menu =
new
();
770
using ContextMenuStrip contextMenuStrip =
new
();
System\Windows\Forms\ToolStripDropDownTests.cs (3)
1048
yield return new object[] { new
ContextMenuStrip
() };
1082
using ContextMenuStrip menu1 =
new
();
1093
using ContextMenuStrip menu2 =
new
();
System\Windows\Forms\ToolStripItemCollectionTests.cs (1)
108
using ContextMenuStrip contextMenuStrip =
new
();
System\Windows\Forms\UpDownBaseTests.cs (3)
871
yield return new object[] { new
ContextMenuStrip
() };
905
using ContextMenuStrip menu1 =
new
();
916
using ContextMenuStrip menu2 =
new
();
System\Windows\Forms\WebBrowserTests.cs (2)
4545
using ContextMenuStrip menu =
new
();
4617
using ContextMenuStrip menu =
new
();
TextBoxBaseTests.cs (2)
6999
using ContextMenuStrip menu =
new
();
7078
using ContextMenuStrip menu =
new
();
ToolStripContainerTests.cs (2)
129
using ContextMenuStrip contextMenuStrip =
new
();
158
_toolStripContainer.ContextMenuStrip = new
ContextMenuStrip
();
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
949
_contextMenuStrip = new
ContextMenuStrip
WinFormsControlsTest (1)
DragDrop.cs (1)
430
_catContextMenuStrip = new
ContextMenuStrip