Hi, I've written a custom control and I need to create my own image. The control is MyNamespace.MyControl and the bitmap (16x16) is MyNamespace.MyControl.bmp (build as embedded resource). If I set the attribute ToolboxBitmap with the filename it correctly show the image, if I set with type ToolboxBitmap(typeof(MyNamespace.MyControl)) it shows the default image and not my own. Is it a bug ?
Pierre ----------------------------------------------- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it ----------------------------------------------- You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.