23 references to new
DesignSurface (4)
MainForm.cs (4)
302
ToolStripMenuItem toolStripMenuItem1 =
new
("TopMenuItem1");
303
ToolStripMenuItem toolStripMenuItem2 =
new
("TopMenuItem2");
304
ToolStripMenuItem menu1 =
new
("BottomMenuItem1");
305
ToolStripMenuItem menuNew1 =
new
("BottomMenuItem2");
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (3)
68
ToolStripMenuItem item =
new
(text);
94
ToolStripMenuItem item =
new
(name)
105
ToolStripMenuItem item =
new
(text);
System.Windows.Forms.Design.Tests (5)
System\Windows\Forms\Design\ContextMenuStripGroupTests.cs (4)
38
ToolStripMenuItem newItem =
new
("Test Item");
50
ToolStripMenuItem newItem1 =
new
("Test Item1");
51
ToolStripMenuItem newItem2 =
new
("Test Item2");
65
ToolStripMenuItem newItem =
new
("Test Item");
System\Windows\Forms\Design\CustomMenuItemCollectionTests.cs (1)
19
ToolStripMenuItem item =
new
("TestItem");
System.Windows.Forms.Tests (7)
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
105
ToolStripItem[] dropDownItems = [new
ToolStripMenuItem
("Test item")];
System\Windows\Forms\ToolStripMenuItemTests.cs (2)
244
ToolStripItem[] dropDownItems = [new
ToolStripMenuItem
("SubItem1"), new
ToolStripMenuItem
("SubItem2")];
System\Windows\Forms\ToolStripSplitButtonTests.cs (2)
157
using ToolStripMenuItem item1 =
new
("Item1");
158
using ToolStripMenuItem item2 =
new
("Item2");
System\Windows\Forms\ToolStripTests.cs (2)
7343
using ToolStripMenuItem toolStripMenuItem =
new
(nameof(toolStripMenuItem));
7344
using ToolStripMenuItem listToolStripMenuItem =
new
(nameof(listToolStripMenuItem));
System.Windows.Forms.UI.IntegrationTests (4)
ToolStripTests.cs (4)
69
using ToolStripMenuItem menu1 =
new
("Menu1");
70
using ToolStripMenuItem menu1Item1 =
new
("Item1");
73
using ToolStripMenuItem hiddenMenu =
new
("hiddenMenu");
74
using ToolStripMenuItem hiddenMenuItem1 =
new
("hiddenMenuItem1");