Link to home
Start Free TrialLog in
Avatar of vwalla
vwalla

asked on

Class Library Toolbox Icon

I cannot seem to figure out how to add an icon to my class library so when a user adds it to their tool box there is a custom icon versus the purple gear.  Please see the attached project (VS 2010) and see what I'm doing wrong.

Thanks!
CustomGridView.zip
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

i am facing same type of issue. i tried variety of solution but nothing work.
ASKER CERTIFIED SOLUTION
Avatar of vwalla
vwalla

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for solution. I  added solution in my blog. so it will help to someone else.

http://kalpesh2804.blogspot.in/2014/03/class-library-toolbox-icon.html
Avatar of vwalla
vwalla

ASKER

Cool!  Hope it helps others out there.
Avatar of vwalla

ASKER

I searched the hell out of Google all day!
You can name bitmap as you want, using overloaded method of ToolboxBitmap attribute constructor:
<ToolboxBitmap(GetType(MyGridControl),"YourBitmapName.bmp")> _

Open in new window