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