Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom controls icon
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00705621
Message ID:
00705665
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform