3 implementations of ShowContextMenu
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MenuCommandService.cs (1)
534
public virtual void
ShowContextMenu
(CommandID menuID, int x, int y)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
49
void IMenuCommandService.
ShowContextMenu
(CommandID menuID, int x, int y)
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
207
public void
ShowContextMenu
(CommandID menuID, int x, int y) => throw new NotImplementedException();
7 references to ShowContextMenu
System.Windows.Forms.Design (7)
System\ComponentModel\Design\ComponentDesigner.cs (1)
587
=> GetService<IMenuCommandService>()?.
ShowContextMenu
(MenuCommands.SelectionMenu, x, y);
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
50
=> MenuService.
ShowContextMenu
(menuID, x, y);
System\Windows\Forms\Design\ComponentTray.cs (3)
660
mcs.
ShowContextMenu
(MenuCommands.TraySelectionMenu, location.X, location.Y);
664
mcs.
ShowContextMenu
(MenuCommands.ComponentTrayMenu, location.X, location.Y);
2257
mcs.
ShowContextMenu
(MenuCommands.TraySelectionMenu, location.X, location.Y);
System\Windows\Forms\Design\DocumentDesigner.cs (2)
980
mcs.
ShowContextMenu
(MenuCommands.ContainerMenu, x, y);
1001
mcs.
ShowContextMenu
(MenuCommands.SelectionMenu, x, y);