Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom controls icon
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00705621
Message ID:
00705665
Views:
10
>Anyone know how to customize the icon that appears in the toolbox for custom controls?
>
>I’ve created my own base class of all the standard winforms controls, (TextBox, Button, etc) and by default they get an icon that looks like a gear. I want to use the same icons that the IDE gives the controls from which I have inherited.
>Thanks,

Found the answer! Thanks to Mattias Sjögren

[ToolboxBitmap(@"D:\txt.bmp")]
public class RDSTextBox : System.Windows.Forms.TextBox
{
public RDSTextBox()
{
}
}
Chris
Previous
Reply
Map
View

Click here to load this message in the networking platform