Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual representation of custom controls
Message
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
00977660
Message ID:
01401047
Vues:
29
>You have to use the ToolboxBitmap attribute. Have a look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskProvidingToolboxBitmapForYourControl.asp
>
>
>>I have added several custom controls in the toolbox. However, they appear with the same icon which is a representation of a custom class. Is there a way to assign an icon to each of them so I would know which one is the button, the label, etc.?

What should I add at the top in order to use this?

// Specifies the bitmap associated with the DataGrid type.
[ToolboxBitmap(typeof(DataGrid))]
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform