- g
- The System.Drawing.Graphics used to draw the progress bar.
- bounds
- The System.Drawing.Rectangle that specifies the bounds to be filled by progress bar pieces.
Each progress bar piece drawn by this method spans the width of the bounds parameter. The number of progress bar pieces drawn is determined by the height of bounds and the values returned by ProgressBarRenderer.ChunkSpaceThickness and ProgressBarRenderer.ChunkThickness.
Before using this method, you should verify that the ProgressBarRenderer.IsSupported property returns true.