Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub classing controls
Message
De
01/05/2007 04:10:36
 
 
À
30/04/2007 16:13:44
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01221258
Message ID:
01221357
Vues:
7
>I have subclass the common controls in one class library and I can see them on the ToolBox. The problem is that all of them have the same picture ( picture on the left side while viewing the controls of the toolbar).
>
>
>I was wondering if I can associate a picture ( just like the base class ).
>Is it posible ?

See the ToolBoxBitMap atttribute.
I think you can also add a bitmap (using the same name as the class) as an embedded resouce to the project but I haven't tried it
HTH,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform