44 references to MenuCommand
Microsoft.VisualStudio.LanguageServices (3)
StackTraceExplorer\StackTraceExplorerCommandHandler.cs (3)
190
var menuItem = new
MenuCommand
(_instance.Execute, menuCommandId);
196
var pasteMenuItem = new
MenuCommand
(_instance.Paste, pasteCommandId);
197
var clearMenuItem = new
MenuCommand
(_instance.Clear, clearCommandId);
Roslyn.VisualStudio.DiagnosticsWindow (1)
VisualStudioDiagnosticsWindowPackage.cs (1)
89
var menuToolWin = new
MenuCommand
(ShowToolWindow, toolwndCommandID);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerVerb.cs (1)
23
public DesignerVerb(string text, EventHandler handler, CommandID startCommandID) :
base
(handler, startCommandID)
System.Windows.Forms.Design (39)
System\ComponentModel\Design\DesignerActionUI.cs (1)
95
_cmdShowDesignerActions = new
MenuCommand
(OnKeyShowDesignerActions, MenuCommands.KeyInvokeSmartTag);
System\Windows\Forms\Design\Behavior\DesignerActionKeyboardBehavior.cs (1)
43
MenuCommand dummyMC =
new
(delegate
System\Windows\Forms\Design\CommandSet.CommandSetItem.cs (1)
78
:
base
(invokeHandler, id)
System\Windows\Forms\Design\ComponentTray.cs (3)
105
_menucmdArrangeIcons = new
MenuCommand
(OnMenuArrangeIcons, StandardCommands.ArrangeIcons);
106
_menucmdLineupIcons = new
MenuCommand
(OnMenuLineupIcons, StandardCommands.LineupIcons);
107
_menucmdLargeIcons = new
MenuCommand
(OnMenuShowLargeIcons, StandardCommands.ShowLargeIcons);
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (4)
301
command = new
MenuCommand
(handler, StandardCommands.Copy)
311
command = new
MenuCommand
(handler, StandardCommands.Paste)
321
command = new
MenuCommand
(handler, StandardCommands.Delete)
331
command = new
MenuCommand
(handler, StandardCommands.Cut)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (28)
556
_newCommandPaste = new
MenuCommand
(new EventHandler(OnCommandPaste), StandardCommands.Paste);
1511
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeySelect), MenuCommands.KeySelectNext));
1512
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeySelect), MenuCommands.KeySelectPrevious));
1513
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyDefault), MenuCommands.KeyDefaultAction));
1514
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyEdit), MenuCommands.EditLabel));
1516
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeyMoveUp));
1517
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeyMoveDown));
1518
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeyMoveLeft));
1519
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeyMoveRight));
1521
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeyNudgeUp));
1522
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeyNudgeDown));
1523
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeyNudgeLeft));
1524
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeyNudgeRight));
1526
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeySizeWidthIncrease));
1527
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeySizeHeightIncrease));
1528
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeySizeWidthDecrease));
1529
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyMove), MenuCommands.KeySizeHeightDecrease));
1531
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyCancel), MenuCommands.KeyCancel));
1532
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyCancel), MenuCommands.KeyReverseCancel));
1533
_newCommands.Add(new
MenuCommand
(new EventHandler(OnCommandCopy), StandardCommands.Copy));
1534
_newCommands.Add(new
MenuCommand
(new EventHandler(OnCommandSelectAll), StandardCommands.SelectAll));
1536
_newCommands.Add(new
MenuCommand
(new EventHandler(OnCommandHome), MenuCommands.KeyHome));
1537
_newCommands.Add(new
MenuCommand
(new EventHandler(OnCommandEnd), MenuCommands.KeyEnd));
1538
_newCommands.Add(new
MenuCommand
(new EventHandler(OnCommandHome), MenuCommands.KeyShiftHome));
1539
_newCommands.Add(new
MenuCommand
(new EventHandler(OnCommandEnd), MenuCommands.KeyShiftEnd));
1542
_newCommands.Add(new
MenuCommand
(new EventHandler(OnKeyShowDesignerActions), MenuCommands.KeyInvokeSmartTag));
1544
_newCommands.Add(new
MenuCommand
(new EventHandler(OnCommandCopy), StandardCommands.Cut));
1545
_newCommands.Add(new
MenuCommand
(new EventHandler(OnCommandDelete), StandardCommands.Delete));
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
450
_designerShortCutCommand = new
MenuCommand
(OnKeyShowDesignerActions, MenuCommands.KeyInvokeSmartTag);