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)
57
service.
Add
(component, actionList);
80
service.
Add
(component, actionList1);
81
service.
Add
(component, actionList2);
82
service.
Add
(component, (DesignerActionList)null);
104
Assert.Throws<ArgumentNullException>("comp", () => service.
Add
(null, (DesignerActionList)null));
167
service.
Add
(component, new CustomDesignerActionList(null));
198
service.
Add
(component1, actionList);
221
service.
Add
(component1, actionList);
357
service.
Add
(component, actionList);
378
service.
Add
(component, actionList);
628
service.
Add
(component, actionList);
662
service.
Add
(component, new CustomDesignerActionList(null));
683
service.
Add
(component1, actionList);
740
service.
Add
(component1, actionList1);
741
service.
Add
(component2, actionList2);
742
service.
Add
(component2, actionList3);
743
service.
Add
(component3, actionList3);
744
service.
Add
(component4, actionList4);
745
service.
Add
(component4, actionList4);
845
service.
Add
(component, new CustomDesignerActionList(null));
865
service.
Add
(component1, actionList1);
866
service.
Add
(component2, actionList2);
907
service.
Add
(component1, actionList1);
908
service.
Add
(component2, actionList2);
909
service.
Add
(component2, actionList3);
910
service.
Add
(component3, actionList3);
911
service.
Add
(component4, actionList4);
912
service.
Add
(component4, actionList4);
974
service.
Add
(component, new CustomDesignerActionList(null));
995
service.
Add
(component1, actionList1);
996
service.
Add
(component2, actionList2);