L
lhummel
Hi everybody,
I have a problem with a custom control developed in C#, and the bitmap
which I want to associate with it.
The custom control is functionally complete and working well; However,
I now wish to associate a bitmap other than the default "gear wheel",
when the control is placed on the VS toolbox.
I have tried to use the following declarations
namespace MyNamespace
{
/// <summary>
/// Summary description for MyClass.
/// </summary>
[ToolboxItem(true)]
[ToolboxBitmap(typeof(<bitmapfilename>)]
public class MyClass : System.Windows.Forms.UserControl
{
I have a problem with a custom control developed in C#, and the bitmap
which I want to associate with it.
The custom control is functionally complete and working well; However,
I now wish to associate a bitmap other than the default "gear wheel",
when the control is placed on the VS toolbox.
I have tried to use the following declarations
namespace MyNamespace
{
/// <summary>
/// Summary description for MyClass.
/// </summary>
[ToolboxItem(true)]
[ToolboxBitmap(typeof(<bitmapfilename>)]
public class MyClass : System.Windows.Forms.UserControl
{