ComponentOne Menus and Toolbars for WinForms
C1.Win.Command.8 Assembly / C1.Win.Command Namespace / C1ContextMenu Class / ShowContextMenu Method
The control where the context menu is to be shown.
The point in the control client area where the context menu is to be shown.

In This Topic
    ShowContextMenu Method (C1ContextMenu)
    In This Topic
    Shows the menu at the specified location.
    Syntax
    'Declaration
     
    Public Sub ShowContextMenu( _
       ByVal control As System.Windows.Forms.Control, _
       ByVal pt As System.Drawing.Point _
    ) 
    public void ShowContextMenu( 
       System.Windows.Forms.Control control,
       System.Drawing.Point pt
    )

    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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also