44 references to Add
DesignSurface (2)
MainForm.cs (2)
309
toolStripMenuItem1.DropDownItems.
Add
("DropDownItem1");
310
toolStripMenuItem2.DropDownItems.
Add
("DropDownItem12");
System.Windows.Forms.Design.Tests (6)
ToolStripDesignerTests.cs (2)
44
toolStrip.Items.
Add
("123");
45
toolStrip.Items.
Add
("abc");
ToolStripDropDownDesignerTest.cs (2)
39
toolStripDropDown.Items.
Add
("123");
40
toolStripDropDown.Items.
Add
("456");
ToolStripDropDownItemDesignerTest.cs (1)
19
toolStripDropDown.DropDownItems.
Add
("123");
ToolStripMenuItemDesignerTest.cs (1)
24
toolStripDropDown.DropDownItems.
Add
("123");
System.Windows.Forms.Tests (36)
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
77
dropDownItem.DropDownItems.
Add
(string.Empty);
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (10)
204
toolStrip.Items.
Add
(string.Empty);
218
toolStrip.Items.
Add
(string.Empty);
230
toolStrip.Items.
Add
(string.Empty);
244
toolStrip.Items.
Add
(string.Empty);
245
toolStrip.Items.
Add
(string.Empty);
269
toolStrip.Items.
Add
(string.Empty);
285
toolStrip.Items.
Add
(string.Empty);
286
toolStrip.Items.
Add
(string.Empty);
318
toolStrip.Items.
Add
(string.Empty);
320
toolStrip.Items.
Add
(string.Empty);
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (6)
84
toolStrip.Items.
Add
(string.Empty);
85
toolStrip.Items.
Add
(string.Empty);
86
toolStrip.Items.
Add
(string.Empty);
110
toolStrip.Items.
Add
(string.Empty);
111
toolStrip.Items.
Add
(string.Empty);
112
toolStrip.Items.
Add
(string.Empty);
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObjectTests.cs (5)
83
ToolStripItem item1 = toolStripSplitButton.DropDownItems.
Add
(string.Empty);
84
ToolStripItem item2 = toolStripSplitButton.DropDownItems.
Add
(string.Empty);
99
toolStripSplitButton.DropDownItems.
Add
(string.Empty);
123
ToolStripItem item1 = toolStripSplitButton.DropDownItems.
Add
(string.Empty);
124
ToolStripItem item2 = toolStripSplitButton.DropDownItems.
Add
(string.Empty);
System\Windows\Forms\ToolStripDropDownTests.cs (5)
4885
items.
Add
("First item");
4886
items.
Add
("Second item");
4887
items.
Add
("Third item");
4888
items.
Add
("Fourth item");
4889
items.
Add
("Fifth item");
System\Windows\Forms\ToolStripItemCollectionTests.cs (3)
116
toolStripDropDownButton.DropDownItems.
Add
("a");
117
toolStripDropDownButton.DropDownItems.
Add
("b");
118
toolStripDropDownButton.DropDownItems.
Add
("c");
System\Windows\Forms\ToolStripTests.cs (6)
7238
toolStrip.DisplayedItems.
Add
("&First item");
7239
toolStrip.DisplayedItems.
Add
("&Second item");
7240
toolStrip.DisplayedItems.
Add
("Third item");
7312
using ToolStripItem toolStripItem = menuStrip.Items.
Add
("toolStripItem");
7333
using ToolStripItem toolStripItem = menuStrip.Items.
Add
("toolStripItem");
7349
listToolStripMenuItem.DropDownItems.
Add
("MenuItem" + i);