3 implementations of RemoveCommand
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MenuCommandService.cs (1)
483
public virtual void
RemoveCommand
(MenuCommand command)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
27
void IMenuCommandService.
RemoveCommand
(MenuCommand command) => MenuService.RemoveCommand(command);
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
204
public void
RemoveCommand
(MenuCommand command) => throw new NotImplementedException();
21 references to RemoveCommand
System.Windows.Forms.Design (19)
System\ComponentModel\Design\DesignerActionUI.cs (1)
131
mcs?.
RemoveCommand
(_cmdShowDesignerActions);
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
27
void IMenuCommandService.RemoveCommand(MenuCommand command) => MenuService.
RemoveCommand
(command);
System\Windows\Forms\Design\CommandSet.cs (1)
357
_menuService.
RemoveCommand
(_commandSet[i]);
System\Windows\Forms\Design\ComponentTray.cs (3)
885
mcs.
RemoveCommand
(_menucmdArrangeIcons);
886
mcs.
RemoveCommand
(_menucmdLineupIcons);
887
mcs.
RemoveCommand
(_menucmdLargeIcons);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
349
MenuService.
RemoveCommand
(_commandSet[i]);
System\Windows\Forms\Design\TabOrder.cs (1)
163
mcs.
RemoveCommand
(mc);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (6)
275
mcs.
RemoveCommand
(oldCommand);
553
mcs.
RemoveCommand
(_oldCommandPaste);
1550
mcs.
RemoveCommand
(newCommand);
1568
mcs.
RemoveCommand
(_newCommandPaste);
1606
mcs.
RemoveCommand
(newCommand);
1613
mcs.
RemoveCommand
(_newCommandPaste);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
430
menuCommandService.
RemoveCommand
(_designerShortCutCommand);
450
menuCommandService.
RemoveCommand
(_oldShortCutCommand);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
177
menuService.
RemoveCommand
(_oldUndoCommand);
183
menuService.
RemoveCommand
(_oldRedoCommand);
208
menuService.
RemoveCommand
(_addCommands[i]);
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\CommandSetTests.cs (1)
34
mockMenuCommandService.Verify(m => m.
RemoveCommand
(It.IsAny<MenuCommand>()), Times.AtLeastOnce);
System\Windows\Forms\Design\ControlCommandSetTests.cs (1)
69
_menuServiceMock.Verify(m => m.
RemoveCommand
(It.IsAny<MenuCommand>()), Times.AtLeastOnce);