In visual studio when you create a custom control you get this ugly little purple gear thing for an icon of your control instead of a custom control .
So how can I change the icon for my control?
Use the ToolboxBitmap attribute on the class.