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)
12576
using ContextMenuStrip menu =
new
();
12648
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)
2018
using ContextMenuStrip menu =
new
();
2104
using ContextMenuStrip menu =
new
();
2203
using ContextMenuStrip cellMenu =
new
();
2214
yield return new object[] { -2, new
ContextMenuStrip
() };
2216
yield return new object[] { -1, new
ContextMenuStrip
() };
2218
yield return new object[] { 0, new
ContextMenuStrip
() };
2242
using ContextMenuStrip cellMenu =
new
();
2254
yield return new object[] { -2, new
ContextMenuStrip
() };
2256
yield return new object[] { -1, new
ContextMenuStrip
() };
2258
yield return new object[] { 0, new
ContextMenuStrip
() };
2260
yield return new object[] { 1, new
ContextMenuStrip
() };
2302
using ContextMenuStrip cellMenu =
new
();
2337
using ContextMenuStrip cellMenu =
new
();
2371
using ContextMenuStrip menu1 =
new
();
2372
using ContextMenuStrip menu2 =
new
();
2405
using ContextMenuStrip menu1 =
new
();
2406
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)
1008
_contextMenuStrip = new
ContextMenuStrip
WinFormsControlsTest (1)
DragDrop.cs (1)
430
_catContextMenuStrip = new
ContextMenuStrip