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
Thanks!
CustomGridView.zip
i am facing same type of issue. i tried variety of solution but nothing work.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
http://kalpesh2804.blogspot.in/2014/03/class-library-toolbox-icon.html
ASKER
Cool! Hope it helps others out there.
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")> _
http://support.microsoft.com/kb/311315
http://mobileworld.appamundi.com/blogs/petevickers/archive/2009/07/12/adding-a-toolbox-icon-to-a-user-control.aspx