Search code examples
c#user-controlscustom-controls

Displaying custom icon for custom control?


In visual studio when you create a custom control you get this default toolbox icon ugly little purple gear thing for an icon of your control instead of a custom control default toolbox icon.

So how can I change the icon for my control?


Solution

  • Use the ToolboxBitmap attribute on the class.