ComponentOne Menus and Toolbars for WinForms
C1.Win.Command.8 Assembly / C1.Win.Command Namespace / DrawBarEventArgs Class / DrawBarEventArgs Constructor
The Graphics object to draw on.
The bounding rectangle of the bar
The graphics path bounding the bar
Flag indicating whether the user completed the drawing.

In This Topic
    DrawBarEventArgs Constructor
    In This Topic
    Initializes a new instance of the DrawBarEventArgs class
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal graphics As System.Drawing.Graphics, _
       ByVal bounds As System.Drawing.Rectangle, _
       ByVal path As System.Drawing.Drawing2D.GraphicsPath, _
       ByVal done As System.Boolean _
    )
    public DrawBarEventArgs( 
       System.Drawing.Graphics graphics,
       System.Drawing.Rectangle bounds,
       System.Drawing.Drawing2D.GraphicsPath path,
       System.bool done
    )

    Parameters

    graphics
    The Graphics object to draw on.
    bounds
    The bounding rectangle of the bar
    path
    The graphics path bounding the bar
    done
    Flag indicating whether the user completed the drawing.
    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