Constructor ToolStripRenderEventArgs
ToolStripRenderEventArgs(Graphics, AbstractControl)
Initializes a new instance of the ToolStripRenderEventArgs class for the specified control and using the specified Graphics.
public ToolStripRenderEventArgs(Graphics g, AbstractControl toolStrip)
Parameters
g
GraphicsThe Graphics to use for painting.
toolStrip
AbstractControlThe control to paint.
ToolStripRenderEventArgs(Graphics, Control, RectD, Color)
Initializes a new instance of the ToolStripRenderEventArgs class using the specified parameters.
public ToolStripRenderEventArgs(Graphics g, Control toolStrip, RectD affectedBounds, Color backColor)