3 implementations of AddCommand
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MenuCommandService.cs (1)
73public virtual void AddCommand(MenuCommand command)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
23void IMenuCommandService.AddCommand(MenuCommand command) => MenuService.AddCommand(command);
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
195public void AddCommand(MenuCommand command) => throw new NotImplementedException();
19 references to AddCommand
Microsoft.VisualStudio.LanguageServices (2)
EditorConfigSettings\SettingsEditorPane.cs (1)
315menuCommandService.AddCommand(command);
Utilities\VisualStudioCommandHandlerHelpers.cs (1)
26menuCommandService.AddCommand(command);
System.Windows.Forms.Design (17)
System\ComponentModel\Design\DesignerActionUI.cs (1)
96menuCommandService.AddCommand(_cmdShowDesignerActions);
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
23void IMenuCommandService.AddCommand(MenuCommand command) => MenuService.AddCommand(command);
System\Windows\Forms\Design\CommandSet.cs (1)
212menuService.AddCommand(_commandSet[i]);
System\Windows\Forms\Design\ComponentTray.cs (3)
110mcs.AddCommand(_menucmdArrangeIcons); 111mcs.AddCommand(_menucmdLineupIcons); 112mcs.AddCommand(_menucmdLargeIcons);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
272MenuService.AddCommand(_commandSet[i]);
System\Windows\Forms\Design\TabOrder.cs (1)
117mcs.AddCommand(mc);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
290mcs.AddCommand(newCommand); 559mcs.AddCommand(_newCommandPaste); 1570mcs.AddCommand(oldCommand); 1583mcs.AddCommand(_oldCommandPaste);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
439menuCommandService.AddCommand(_oldShortCutCommand); 459menuCommandService.AddCommand(_designerShortCutCommand);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
196menuService.AddCommand(_addCommands[i]); 223menuService.AddCommand(_oldUndoCommand); 228menuService.AddCommand(_oldRedoCommand);