Provides the support for drawing and caching bitmaps from a resource manifest with a given fore color.
public sealed class GridIconPaint : IconPaint
The bitmaps are loaded from the manifest and cached. The PaintIcon routine will substitute black pixels of the original bitmap and draw them with a specified fore color.
Initializes a new GridIconPaint object with manifestPrefix and a reference to the assembly to load bitmaps from. You should save this object in a static variable.
public GridIconPaint(string manifestPrefix, Assembly ass)
The manifest to load from. The bitmaps should be saved in the Resources tree in the Visual Studio project with the build action set to "Embedded Resource".
The assembly to load from. The bitmaps should be saved in the Resources tree in Visual Studio project with the build action set to "Embedded Resource".