ComponentOne Menus and Toolbars for WinForms
C1.Win.SuperTooltip.8 Assembly / C1.Win.SuperTooltip Namespace / IconClickEventArgs Class / IconClickEventArgs Constructor
Control that has an associated error.
Error description text.
Button that was clicked on the icon.
Number of times the mouse button was clicked.
Location of the mouse in screen coordinates.

In This Topic
    IconClickEventArgs Constructor
    In This Topic
    Initializes a new instance of an IconClickEventArgs.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal control As System.Windows.Forms.Control, _
       ByVal error As System.String, _
       ByVal button As System.Windows.Forms.MouseButtons, _
       ByVal clicks As System.Integer, _
       ByVal location As System.Drawing.Point _
    )
    public IconClickEventArgs( 
       System.Windows.Forms.Control control,
       System.string error,
       System.Windows.Forms.MouseButtons button,
       System.int clicks,
       System.Drawing.Point location
    )

    Parameters

    control
    Control that has an associated error.
    error
    Error description text.
    button
    Button that was clicked on the icon.
    clicks
    Number of times the mouse button was clicked.
    location
    Location of the mouse in screen coordinates.
    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