1 type derived from StandardCommands
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MenuCommands.cs (1)
11public sealed class MenuCommands : StandardCommands
141 references to StandardCommands
DesignSurfaceExt (4)
DesignSurfaceExt.cs (4)
353"CUT" => StandardCommands.Cut, 354"COPY" => StandardCommands.Copy, 355"PASTE" => StandardCommands.Paste, 356"DELETE" => StandardCommands.Delete,
netstandard (1)
netstandard.cs (1)
297[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.StandardCommands))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
283[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.StandardCommands))]
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerVerb.cs (1)
17public DesignerVerb(string text, EventHandler handler) : this(text, handler, StandardCommands.VerbFirst) { }
System.Windows.Forms.Design (134)
System\ComponentModel\Design\DesignerActionPanel.cs (8)
132StandardCommands.Copy, 133StandardCommands.Cut, 134StandardCommands.Delete, 135StandardCommands.F1Help, 136StandardCommands.Paste, 137StandardCommands.Redo, 138StandardCommands.SelectAll, 139StandardCommands.Undo,
System\ComponentModel\Design\MenuCommandService.cs (2)
348int currentID = StandardCommands.VerbFirst.ID; 368if (cid.Equals(StandardCommands.VerbFirst))
System\Windows\Forms\Design\BaseContextMenuStrip.cs (10)
33StandardCommandToolStripMenuItem codeMenuItem = new(StandardCommands.ViewCode, SR.ContextMenuViewCode, "viewcode", _serviceProvider); 42StandardCommandToolStripMenuItem ZOrderMenuItem = new(StandardCommands.BringToFront, SR.ContextMenuBringToFront, "bringToFront", _serviceProvider); 44ZOrderMenuItem = new StandardCommandToolStripMenuItem(StandardCommands.SendToBack, SR.ContextMenuSendToBack, "sendToBack", _serviceProvider); 53StandardCommandToolStripMenuItem gridMenuItem = new(StandardCommands.AlignToGrid, SR.ContextMenuAlignToGrid, "alignToGrid", _serviceProvider); 62StandardCommandToolStripMenuItem lockMenuItem = new(StandardCommands.LockControls, SR.ContextMenuLockControls, "lockControls", _serviceProvider); 172StandardCommandToolStripMenuItem stdMenuItem = new(StandardCommands.Cut, SR.ContextMenuCut, "cut", _serviceProvider); 174stdMenuItem = new StandardCommandToolStripMenuItem(StandardCommands.Copy, SR.ContextMenuCopy, "copy", _serviceProvider); 176stdMenuItem = new StandardCommandToolStripMenuItem(StandardCommands.Paste, SR.ContextMenuPaste, "paste", _serviceProvider); 178stdMenuItem = new StandardCommandToolStripMenuItem(StandardCommands.Delete, SR.ContextMenuDelete, "delete", _serviceProvider); 187StandardCommandToolStripMenuItem stdMenuItem = new(StandardCommands.DocumentOutline, SR.ContextMenuDocumentOutline, "", _serviceProvider);
System\Windows\Forms\Design\CommandSet.cs (45)
83StandardCommands.Delete, 90StandardCommands.Copy, 97StandardCommands.Cut, 104StandardCommands.Paste, 112StandardCommands.SelectAll, true, 1026if (id.Equals(StandardCommands.AlignBottom) 1027|| id.Equals(StandardCommands.AlignHorizontalCenters) 1028|| id.Equals(StandardCommands.AlignVerticalCenters) 1029|| id.Equals(StandardCommands.AlignRight)) 1040if (id.Equals(StandardCommands.AlignBottom)) 1048else if (id.Equals(StandardCommands.AlignHorizontalCenters)) 1056else if (id.Equals(StandardCommands.AlignRight)) 1064else if (id.Equals(StandardCommands.AlignVerticalCenters)) 1073else if (id.Equals(StandardCommands.AlignLeft)) 1081else if (id.Equals(StandardCommands.AlignTop)) 1261string batchString = cmdID == StandardCommands.CenterHorizontally 1347if (cmdID == StandardCommands.CenterHorizontally) 1354else if (cmdID == StandardCommands.CenterVertically) 2168MenuCommand? btf = MenuService?.FindCommand(StandardCommands.BringToFront); 2345if (cmdID == StandardCommands.SizeToControlHeight || 2346cmdID == StandardCommands.SizeToControl) 2351if (cmdID == StandardCommands.SizeToControlWidth || 2352cmdID == StandardCommands.SizeToControl) 2463if (menuSvc.GlobalInvoke(StandardCommands.PropertiesWindow)) 2565if (cmdID == StandardCommands.HorizSpaceConcatenate || 2566cmdID == StandardCommands.HorizSpaceDecrease || 2567cmdID == StandardCommands.HorizSpaceIncrease || 2568cmdID == StandardCommands.HorizSpaceMakeEqual) 2574sort = cmdID == StandardCommands.VertSpaceConcatenate || 2575cmdID == StandardCommands.VertSpaceDecrease || 2576cmdID == StandardCommands.VertSpaceIncrease || 2577cmdID == StandardCommands.VertSpaceMakeEqual 2592if (cmdID == StandardCommands.HorizSpaceMakeEqual || 2593cmdID == StandardCommands.VertSpaceMakeEqual) 2797if (cmdID == StandardCommands.HorizSpaceConcatenate && n > 0) 2801else if (cmdID == StandardCommands.HorizSpaceDecrease) 2816else if (cmdID == StandardCommands.HorizSpaceIncrease) 2827else if (cmdID == StandardCommands.HorizSpaceMakeEqual && n > 0) 2831else if (cmdID == StandardCommands.VertSpaceConcatenate && n > 0) 2835else if (cmdID == StandardCommands.VertSpaceDecrease) 2850else if (cmdID == StandardCommands.VertSpaceIncrease) 2861else if (cmdID == StandardCommands.VertSpaceMakeEqual && n > 0) 3223if (curItem.CommandID == StandardCommands.Paste || 3224curItem.CommandID == StandardCommands.Copy || 3225curItem.CommandID == StandardCommands.Cut)
System\Windows\Forms\Design\ComponentTray.cs (4)
105_menucmdArrangeIcons = new MenuCommand(OnMenuArrangeIcons, StandardCommands.ArrangeIcons); 106_menucmdLineupIcons = new MenuCommand(OnMenuLineupIcons, StandardCommands.LineupIcons); 107_menucmdLargeIcons = new MenuCommand(OnMenuShowLargeIcons, StandardCommands.ShowLargeIcons); 1665_tabOrderCommand = mcs.FindCommand(StandardCommands.TabOrder);
System\Windows\Forms\Design\ControlCommandSet.cs (30)
43StandardCommands.AlignLeft, true), 49StandardCommands.AlignTop, true), 55StandardCommands.AlignToGrid, true), 61StandardCommands.AlignBottom, true), 67StandardCommands.AlignHorizontalCenters, true), 73StandardCommands.AlignRight, true), 79StandardCommands.AlignVerticalCenters, true), 86StandardCommands.CenterHorizontally, true), 92StandardCommands.CenterVertically, true), 99StandardCommands.HorizSpaceConcatenate, true), 105StandardCommands.HorizSpaceDecrease, true), 111StandardCommands.HorizSpaceIncrease, true), 117StandardCommands.HorizSpaceMakeEqual, true), 123StandardCommands.VertSpaceConcatenate, true), 129StandardCommands.VertSpaceDecrease, true), 135StandardCommands.VertSpaceIncrease, true), 141StandardCommands.VertSpaceMakeEqual, true), 148StandardCommands.SizeToControl, true), 154StandardCommands.SizeToControlWidth, true), 160StandardCommands.SizeToControlHeight, true), 166StandardCommands.SizeToGrid, true), 173StandardCommands.BringToFront, true), 179StandardCommands.SendToBack, true), 186StandardCommands.ShowGrid, true), 192StandardCommands.SnapToGrid, true), 198StandardCommands.TabOrder, true), 204StandardCommands.LockControls, true), 996if (cmdID == StandardCommands.BringToFront) 1087if (cmdID == StandardCommands.BringToFront) 1094else if (cmdID == StandardCommands.SendToBack)
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (12)
299if ((commandId.ID == StandardCommands.Copy.ID) && (commandId.Guid == StandardCommands.Copy.Guid)) 301command = new MenuCommand(handler, StandardCommands.Copy) 309if ((commandId.ID == StandardCommands.Paste.ID) && (commandId.Guid == StandardCommands.Paste.Guid)) 311command = new MenuCommand(handler, StandardCommands.Paste) 319if ((commandId.ID == StandardCommands.Delete.ID) && (commandId.Guid == StandardCommands.Delete.Guid)) 321command = new MenuCommand(handler, StandardCommands.Delete) 329if ((commandId.ID == StandardCommands.Cut.ID) && (commandId.Guid == StandardCommands.Cut.Guid)) 331command = new MenuCommand(handler, StandardCommands.Cut)
System\Windows\Forms\Design\DocumentDesigner.cs (2)
188_tabOrderCommand = menuCommandService.FindCommand(StandardCommands.TabOrder); 1384MenuCommand cmd = mcs.FindCommand(StandardCommands.TabOrder);
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
1468MenuCommand tabCommand = ms.FindCommand(StandardCommands.TabOrder); 1666MenuCommand tabCommand = ms.FindCommand(StandardCommands.TabOrder);
System\Windows\Forms\Design\PbrsForward.cs (1)
149MenuCommandService.GlobalInvoke(StandardCommands.PropertiesWindow);
System\Windows\Forms\Design\TabOrder.cs (2)
511MenuCommand? mc = mcs.FindCommand(StandardCommands.TabOrder); 712if (!Equals(cmd.CommandID, StandardCommands.TabOrder))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (11)
522if (sender is MenuCommand com && com.CommandID == StandardCommands.Cut) 550_oldCommandPaste = mcs.FindCommand(StandardCommands.Paste); 556_newCommandPaste = new MenuCommand(new EventHandler(OnCommandPaste), StandardCommands.Paste); 1497_oldCommands.Add(mcs.FindCommand(StandardCommands.Copy)); 1498_oldCommands.Add(mcs.FindCommand(StandardCommands.SelectAll)); 1501_oldCommands.Add(mcs.FindCommand(StandardCommands.Cut)); 1502_oldCommands.Add(mcs.FindCommand(StandardCommands.Delete)); 1533_newCommands.Add(new MenuCommand(new EventHandler(OnCommandCopy), StandardCommands.Copy)); 1534_newCommands.Add(new MenuCommand(new EventHandler(OnCommandSelectAll), StandardCommands.SelectAll)); 1544_newCommands.Add(new MenuCommand(new EventHandler(OnCommandCopy), StandardCommands.Cut)); 1545_newCommands.Add(new MenuCommand(new EventHandler(OnCommandDelete), StandardCommands.Delete));
System\Windows\Forms\Design\ToolStripTemplateNode.cs (5)
180_oldUndoCommand = menuService.FindCommand(StandardCommands.Undo); 186_oldRedoCommand = menuService.FindCommand(StandardCommands.Redo); 1244if (cmd.CommandID == StandardCommands.Delete || cmd.CommandID == StandardCommands.Cut || cmd.CommandID == StandardCommands.Copy)