28 references to Add
DesignSurface (2)
CustomControls\CustomButtonDesignerActionList.cs (2)
26_actonListItems.Add(new DesignerActionHeaderItem("Change color")); 27_actonListItems.Add(new DesignerActionVerbItem(new DesignerVerb(GetActionName(), OnColorActionClick)));
System.Windows.Forms.Design (16)
System\ComponentModel\Design\DesignerActionItemCollectionExtensions.cs (1)
9? collection.Add(item)
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
331items.Add(new DesignerActionMethodItem( 339items.Add(new DesignerActionMethodItem(this, nameof(ReparentControls), SR.DesignerShortcutReparentControls));
System\Windows\Forms\Design\ContextMenuStripActionList.cs (2)
108items.Add(new DesignerActionPropertyItem( 114items.Add(new DesignerActionPropertyItem(
System\Windows\Forms\Design\ControlDesigner.DockingActionList.cs (1)
51items.Add(new DesignerActionVerbItem(new DesignerVerb(actionName, OnDockActionClick)));
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
828items.Add(chooseDataSource);
System\Windows\Forms\Design\DesignerActionVerbList.cs (1)
25items.Add(new DesignerActionVerbItem(_verbs[i]));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
413items.Add(new DesignerActionMethodItem(this, 421items.Add(new DesignerActionMethodItem(this, 427items.Add(new DesignerActionMethodItem(this,
System\Windows\Forms\Design\ToolStripActionList.cs (5)
139items.Add(new DesignerActionMethodItem( 152items.Add(new DesignerActionMethodItem( 161items.Add(new DesignerActionPropertyItem( 170items.Add(new DesignerActionPropertyItem( 179items.Add(new DesignerActionPropertyItem(
System.Windows.Forms.Design.Tests (10)
System\ComponentModel\Design\DesignerActionItemCollectionTests.cs (10)
21collection.Add(value1); 28collection.Add(value2); 38Assert.Throws<ArgumentNullException>("value", () => collection.Add(null)); 72collection.Add(value); 94collection.Add(value1); 111collection.Add(value); 120collection.Add(value); 132collection.Add(value); 143collection.Add(value); 154collection.Add(value);