1 write to CommandID
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\MenuCommand.cs (1)
50CommandID = command;
60 references to CommandID
Microsoft.VisualStudio.LanguageServices (1)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (1)
277if (command.CommandID.ID == RunCodeAnalysisForSelectedProjectCommandId &&
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\MenuCommand.cs (1)
166string str = (CommandID?.ToString() ?? "") + " : ";
System.Windows.Forms.Design (58)
System\ComponentModel\Design\MenuCommandService.cs (5)
77CommandID commandId = command.CommandID!; 337if (command.CommandID!.ID == id) 351CommandID cid = verb.CommandID!; 489if (_commandGroups.TryGetValue(command.CommandID!.Guid, out List<MenuCommand>? commands)) 496_commandGroups.Remove(command.CommandID.Guid);
System\Windows\Forms\Design\CommandSet.cs (8)
737CommandID? cmd = ((MenuCommand)sender!).CommandID; 964CommandID id = cmd.CommandID!; 1238CommandID? cmdID = cmd.CommandID; 2276CommandID? cmdID = cmd.CommandID; 2511CommandID? cmdID = cmd.CommandID; 3223if (curItem.CommandID == StandardCommands.Paste || 3224curItem.CommandID == StandardCommands.Copy || 3225curItem.CommandID == StandardCommands.Cut)
System\Windows\Forms\Design\ControlCommandSet.cs (4)
450bool reverse = (cmd.CommandID.Equals(MenuCommands.KeyReverseCancel)); 541CommandID cmd = ((MenuCommand)sender).CommandID; 828bool reverse = (cmd.CommandID.Equals(MenuCommands.KeySelectPrevious)); 967CommandID cmdID = cmd.CommandID;
System\Windows\Forms\Design\ParentControlDesigner.EscapeHandler.cs (2)
30if (MenuCommands.KeyCancel.Equals(cmd.CommandID)) 47if (MenuCommands.KeyCancel.Equals(cmd.CommandID))
System\Windows\Forms\Design\TabOrder.cs (5)
682if (Equals(_commands[i].CommandID, cmd.CommandID)) 701if (Equals(_commands[i].CommandID, cmd.CommandID)) 712if (!Equals(cmd.CommandID, StandardCommands.TabOrder))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (27)
288if (newCommand is not null && mcs.FindCommand(newCommand.CommandID) is null) 445if (oldCommand is not null && oldCommand.CommandID == command.CommandID) 522if (sender is MenuCommand com && com.CommandID == StandardCommands.Cut) 557if (mcs.FindCommand(_newCommandPaste.CommandID) is null) 926CommandID cmd = ((MenuCommand)sender).CommandID; 978_shiftPressed = cmd.CommandID.Equals(MenuCommands.KeySizeWidthIncrease) 979|| cmd.CommandID.Equals(MenuCommands.KeySizeWidthDecrease) 980|| cmd.CommandID.Equals(MenuCommands.KeySizeHeightDecrease) 981|| cmd.CommandID.Equals(MenuCommands.KeySizeHeightIncrease); 986if (cmd.CommandID.Equals(MenuCommands.KeyMoveDown)) 1002if (cmd.CommandID.Equals(MenuCommands.KeyMoveRight) || cmd.CommandID.Equals(MenuCommands.KeyNudgeRight) || cmd.CommandID.Equals(MenuCommands.KeySizeWidthIncrease)) 1011if (cmd.CommandID.Equals(MenuCommands.KeyMoveLeft) || cmd.CommandID.Equals(MenuCommands.KeyNudgeLeft) || cmd.CommandID.Equals(MenuCommands.KeySizeWidthDecrease)) 1020if (cmd.CommandID.Equals(MenuCommands.KeyMoveDown) || cmd.CommandID.Equals(MenuCommands.KeyNudgeDown) || cmd.CommandID.Equals(MenuCommands.KeySizeHeightIncrease)) 1026if (cmd.CommandID.Equals(MenuCommands.KeyMoveUp) || cmd.CommandID.Equals(MenuCommands.KeyNudgeUp) || cmd.CommandID.Equals(MenuCommands.KeySizeHeightDecrease)) 1057bool reverse = (cmd.CommandID.Equals(MenuCommands.KeyReverseCancel)); 1083bool reverse = cmd.CommandID.Equals(MenuCommands.KeySelectPrevious); 1568if (oldCommand is not null && mcs.FindCommand(oldCommand.CommandID) is null) 1581if (_oldCommandPaste is not null && mcs.FindCommand(_oldCommandPaste.CommandID) is null)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (7)
1242if (_commands[i].CommandID.Equals(cmd.CommandID)) 1244if (cmd.CommandID == StandardCommands.Delete || cmd.CommandID == StandardCommands.Cut || cmd.CommandID == StandardCommands.Copy) 1262if (_commands[i].CommandID.Equals(cmd.CommandID))