共用方式為


DiagramDocView.ShowContextMenu(CommandID, Point) Method

Definition

Shows context menu at specified point on the screen.

protected:
 void ShowContextMenu(System::ComponentModel::Design::CommandID ^ contextMenuId, System::Drawing::Point pt);
protected void ShowContextMenu (System.ComponentModel.Design.CommandID contextMenuId, System.Drawing.Point pt);
member this.ShowContextMenu : System.ComponentModel.Design.CommandID * System.Drawing.Point -> unit
Protected Sub ShowContextMenu (contextMenuId As CommandID, pt As Point)

Parameters

contextMenuId
CommandID

Context menu to show.

pt
Point

Point on the screen.

Applies to