I'm creating icons for my usercontrols using Paint.NET. I'd like to have proper transparency like 32 bit PNG or BMPX provides. Is there a way to achieve that? Looking at the toolbox, the regular Label
control does seem to use a fully transparent icon (unless MS assumes an always white toolbox background?).
Currently I'm embedding my icons as bitmaps compiled to embedded resource, and use the ToolboxBitmapAttribute(Type, String)
constructor. I tried using ICO or PNG or BMPX, but none of those work at all, they don't even get displayed, whereas a simple BMP does get displayed (using the lower left corner pixel color as transparent color).