Draws the image from the specified System.Windows.Forms.ImageList within the specified bounds.
- g
- The System.Drawing.Graphics used to draw the image.
- bounds
- A System.Drawing.Rectangle in which the image is drawn.
- imageList
- An System.Windows.Forms.ImageList that contains the System.Drawing.Image to draw.
- imageIndex
- The index of the System.Drawing.Image within imageList to draw.
If the visual style applies one of the effects specified by the System.Windows.Forms.VisualStyles.IconEffect values to the current element, this method will apply the effect to the drawn image.