Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding an icon to a winforms project in 2.0
Message
De
10/05/2007 09:36:42
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01224000
Message ID:
01224115
Vues:
16
>Hi, Mike.
>
>>OK, so I added a new icon to my project and customized it there. I guess that would mean that it is a resource file. However, when I set up the icons (in both of the places you mentioned) I pointed to the file in the file system, and the property sheet seems to see it. However, when I launch the project, it goes to a generic looking icon.
>
>Is your icon file providing several different size versions? For the icon to appear on a forms caption you have to provide a 16x16 version.
>
>You may find this old article useful:
>http://www.hhhh.org/cloister/csharp/icons/
>
>Regards,

That was exactly what I needed. I didn't realize that an .ico was a collection of bitmaps, instead of just one. I figured that it would resize itself when it needed.

I also found out how to do transparency from that article, which was going to be my second question.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform