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
graphicsGraphicsThe Graphics object to draw on.
scrollBarRectRectangleBounding rectangle fo the scrollbar area.
trackRectRectangleRectangle that bounds the drawing area for the scrollbar annotation.
ScrollBarPaintEventArgs(Graphics, Rectangle, Rectangle)
public ScrollBarPaintEventArgs(Graphics graphics, Rectangle scrollBarRect, Rectangle trackRect)