3 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);
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
196
public void
AddCommand
(MenuCommand command) => throw new NotImplementedException();
20 references to AddCommand
Microsoft.VisualStudio.LanguageServices (2)
EditorConfigSettings\SettingsEditorPane.cs (1)
315
menuCommandService.
AddCommand
(command);
Utilities\VisualStudioCommandHandlerHelpers.cs (1)
26
menuCommandService.
AddCommand
(command);
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)
212
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)
290
mcs.
AddCommand
(newCommand);
559
mcs.
AddCommand
(_newCommandPaste);
1561
mcs.
AddCommand
(oldCommand);
1574
mcs.
AddCommand
(_oldCommandPaste);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
433
menuCommandService.
AddCommand
(_oldShortCutCommand);
453
menuCommandService.
AddCommand
(_designerShortCutCommand);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
190
menuService.
AddCommand
(_addCommands[i]);
214
menuService.
AddCommand
(_oldUndoCommand);
219
menuService.
AddCommand
(_oldRedoCommand);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\TabOrderTests.cs (1)
75
_mockMenuCommandService.Verify(mcs => mcs.
AddCommand
(It.IsAny<MenuCommand>()), Times.Exactly(((MenuCommand[])accessor._newCommands).Length));