33 references to Add
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionService.cs (1)
86
Add
(comp, new DesignerActionListCollection([actionList]));
System\Windows\Forms\Design\ControlDesigner.cs (1)
944
designerActionService.
Add
(Component, _dockingAction);
System.Windows.Forms.Design.Tests (31)
System\ComponentModel\Design\DesignerActionServiceTests.cs (31)
59
service.
Add
(component, actionList);
82
service.
Add
(component, actionList1);
83
service.
Add
(component, actionList2);
84
service.
Add
(component, (DesignerActionList)null);
106
Assert.Throws<ArgumentNullException>("comp", () => service.
Add
(null, (DesignerActionList)null));
169
service.
Add
(component, new CustomDesignerActionList(null));
200
service.
Add
(component1, actionList);
223
service.
Add
(component1, actionList);
359
service.
Add
(component, actionList);
380
service.
Add
(component, actionList);
630
service.
Add
(component, actionList);
664
service.
Add
(component, new CustomDesignerActionList(null));
685
service.
Add
(component1, actionList);
742
service.
Add
(component1, actionList1);
743
service.
Add
(component2, actionList2);
744
service.
Add
(component2, actionList3);
745
service.
Add
(component3, actionList3);
746
service.
Add
(component4, actionList4);
747
service.
Add
(component4, actionList4);
847
service.
Add
(component, new CustomDesignerActionList(null));
867
service.
Add
(component1, actionList1);
868
service.
Add
(component2, actionList2);
909
service.
Add
(component1, actionList1);
910
service.
Add
(component2, actionList2);
911
service.
Add
(component2, actionList3);
912
service.
Add
(component3, actionList3);
913
service.
Add
(component4, actionList4);
914
service.
Add
(component4, actionList4);
976
service.
Add
(component, new CustomDesignerActionList(null));
997
service.
Add
(component1, actionList1);
998
service.
Add
(component2, actionList2);