3 implementations of ShowContextMenu
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MenuCommandService.cs (1)
534public virtual void ShowContextMenu(CommandID menuID, int x, int y)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
49void IMenuCommandService.ShowContextMenu(CommandID menuID, int x, int y)
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
207public 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)
660mcs.ShowContextMenu(MenuCommands.TraySelectionMenu, location.X, location.Y); 664mcs.ShowContextMenu(MenuCommands.ComponentTrayMenu, location.X, location.Y); 2257mcs.ShowContextMenu(MenuCommands.TraySelectionMenu, location.X, location.Y);
System\Windows\Forms\Design\DocumentDesigner.cs (2)
995mcs.ShowContextMenu(MenuCommands.ContainerMenu, x, y); 1016mcs.ShowContextMenu(MenuCommands.SelectionMenu, x, y);