2 implementations of AddCommand
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MenuCommandService.cs (1)
73
public virtual void
AddCommand
(MenuCommand command)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
23
void IMenuCommandService.
AddCommand
(MenuCommand command) => MenuService.AddCommand(command);
17 references to AddCommand
System.Windows.Forms.Design (17)
System\ComponentModel\Design\DesignerActionUI.cs (1)
96
menuCommandService.
AddCommand
(_cmdShowDesignerActions);
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
23
void IMenuCommandService.AddCommand(MenuCommand command) => MenuService.
AddCommand
(command);
System\Windows\Forms\Design\CommandSet.cs (1)
209
menuService.
AddCommand
(_commandSet[i]);
System\Windows\Forms\Design\ComponentTray.cs (3)
110
mcs.
AddCommand
(_menucmdArrangeIcons);
111
mcs.
AddCommand
(_menucmdLineupIcons);
112
mcs.
AddCommand
(_menucmdLargeIcons);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
272
MenuService.
AddCommand
(_commandSet[i]);
System\Windows\Forms\Design\TabOrder.cs (1)
117
mcs.
AddCommand
(mc);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
287
mcs.
AddCommand
(newCommand);
556
mcs.
AddCommand
(_newCommandPaste);
1558
mcs.
AddCommand
(oldCommand);
1571
mcs.
AddCommand
(_oldCommandPaste);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
427
menuCommandService.
AddCommand
(_oldShortCutCommand);
447
menuCommandService.
AddCommand
(_designerShortCutCommand);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
187
menuService.
AddCommand
(_addCommands[i]);
211
menuService.
AddCommand
(_oldUndoCommand);
216
menuService.
AddCommand
(_oldRedoCommand);