Constructor ScrollBarPaintEventArgs
ScrollBarPaintEventArgs(Graphics, Rectangle, Rectangle)
Initializes a new instance of the ScrollBarPaintEventArgs
class with specified parameters.
public ScrollBarPaintEventArgs(Graphics graphics, Rectangle scrollBarRect, Rectangle trackRect)
Parameters
graphics
GraphicsThe Graphics object to draw on.
scrollBarRect
RectangleBounding rectangle fo the scrollbar area.
trackRect
RectangleRectangle that bounds the drawing area for the scrollbar annotation.
ScrollBarPaintEventArgs(Graphics, Rectangle, Rectangle)
public ScrollBarPaintEventArgs(Graphics graphics, Rectangle scrollBarRect, Rectangle trackRect)