adding icon to customcontrol (not usercontrol) in VS2005 ?

  • Thread starter Thread starter Sagaert Johan
  • Start date Start date
S

Sagaert Johan

Hi

How can i add an icon to my customcontrol so it appears in the toolbox ?

How is this done in VS2005 ?
 
Ok
Discovered that the icon only shows up when i add assembly to the toolbox
manually.
The controls that are automatically inserted into the toolbox at build time
do not inherit this icon.
Is there a way to overcome this ?

Johan

[ToolboxBitmapAttribute("c:\\mybitmap.bmp")]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top