Usercontrol toolbox bitmap
-
Hi Dear freinds. How can I add a bitmap picture(existing in my project resource) for my control toolboxbitmap?
Mansourgh wrote:
my control toolboxbitmap
What kind of control is it, a toolbar, or a custom control?
My advice is free, and you may get what you paid for.
-
Mansourgh wrote:
my control toolboxbitmap
What kind of control is it, a toolbar, or a custom control?
My advice is free, and you may get what you paid for.
Johan Hakkesteegt wrote:
My advice is free, and you may get what you paid for.
I love the signature! :laugh:
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Hi Dear freinds. How can I add a bitmap picture(existing in my project resource) for my control toolboxbitmap?
1- add your 16x16 bitmap to your project 2- the name of bitmap must be the same as your user control (YourControl.bmp) 3- in property tab of your bitmap, set build action to embeded recource 4- rebuild your project now after adding your control to toolbox you will see that bitmap. ---------------------------------- another way is using ToolboxBitmapAttribute