編輯

共用方式為


ControlDesigner.OnContextMenu(Int32, Int32) Method

Definition

Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.

protected:
 virtual void OnContextMenu(int x, int y);
protected virtual void OnContextMenu (int x, int y);
abstract member OnContextMenu : int * int -> unit
override this.OnContextMenu : int * int -> unit
Protected Overridable Sub OnContextMenu (x As Integer, y As Integer)

Parameters

x
Int32

The x coordinate at which to display the context menu.

y
Int32

The y coordinate at which to display the context menu.

Applies to