Shows the menu at the specified location.
Syntax
'Declaration
Public Sub ShowContextMenu( _
ByVal As System.Windows.Forms.Control, _
ByVal As System.Drawing.Point _
)
public void ShowContextMenu(
System.Windows.Forms.Control ,
System.Drawing.Point
)
Parameters
- control
- The control where the context menu is to be shown.
- pt
- The point in the control client area where the context menu is to be shown.
See Also