ToolBoxBitmap
Hi
I am trying to add a 16x16 (16 Color) to MyUserControl with no success.
Here is what I tried:
1). Create the Bitmap and place the bitmap in the same folder as my solution. Save/Rebuild I Selected the Form/Toolbox still see the Gear What am I doing wrong? Is (16 Color) the limit? Thanks
Filename: MyBitmap.Bmp
2). Add Existing Item (Image File) Build Action - Embedded Resource
(MyBitmap.Bmp is displayed in the Solution Explorer)
3).Imports System.ComponentModel
Imports System.Drawing
<ToolboxBitmap(GetType(MyUserControl),"MyBitmap.bmp")> _
PublicClass MyUserControl
Inherits System.Windows.Forms.UserControl
...
EndClass
David

