3 implementations of RemoveCommand
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MenuCommandService.cs (1)
480
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)
354
_menuService.
RemoveCommand
(_commandSet[i]);
System\Windows\Forms\Design\ComponentTray.cs (3)
876
mcs.
RemoveCommand
(_menucmdArrangeIcons);
877
mcs.
RemoveCommand
(_menucmdLineupIcons);
878
mcs.
RemoveCommand
(_menucmdLargeIcons);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
349
MenuService.
RemoveCommand
(_commandSet[i]);
System\Windows\Forms\Design\TabOrder.cs (1)
160
mcs.
RemoveCommand
(mc);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (6)
272
mcs.
RemoveCommand
(oldCommand);
550
mcs.
RemoveCommand
(_oldCommandPaste);
1547
mcs.
RemoveCommand
(newCommand);
1565
mcs.
RemoveCommand
(_newCommandPaste);
1603
mcs.
RemoveCommand
(newCommand);
1610
mcs.
RemoveCommand
(_newCommandPaste);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
424
menuCommandService.
RemoveCommand
(_designerShortCutCommand);
444
menuCommandService.
RemoveCommand
(_oldShortCutCommand);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
174
menuService.
RemoveCommand
(_oldUndoCommand);
180
menuService.
RemoveCommand
(_oldRedoCommand);
205
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);