Component Icon

  • Thread starter Thread starter Nathanael Semhoun
  • Start date Start date
N

Nathanael Semhoun

I've create a .Net component but I don't know how to change is icon. I
would like change the icon which is show on Design.

Thanks
 
Add a bitmap to the resources and set it build action to "embedded resource"

Then use a ToolboxBitmap attribute to set up the bitmap for your component.
Read up on the toolbox bitmap carefully in MSDN because you have to get the
fully qualified name of the bitmap in the resources correct.

--
Bob Powell [MVP]
C#, System.Drawing

The November edition of Well Formed is now available.
Learn how to create Shell Extensions in managed code.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com
 
Back
Top