Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.
Syntax
protected virtual
void OnContextMenu (
int x,
int y)
Parameters
- x
-
The x coordinate at which to display the context menu.
- y
-
The y coordinate at which to display the context menu.
Remarks
Requirements
Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0