NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ContextMenu.Show

Displays the context menu at the specified position. This method doesn't return until the menu is dismissed.

[Visual Basic]
Public Sub Show( _
   ByVal control As Control, _
   ByVal pos As Point _
)
[C#]
public void Show(
   Control control,
   Point pos
);
[C++]
public: void Show(
   Control* control,
   Point pos
);
[JScript]
public function Show(
   control : Control,
   pos : Point
);

Parameters

control
The control that this invocation of the context menu is associated with
pos
The position to display the menu at, in client coordinates of the control specified in the control parameter

See Also

ContextMenu Class | ContextMenu Members | System.WinForms Namespace