Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Icon Resources in VB.NET 2003
Message
De
18/05/2005 13:21:45
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Icon Resources in VB.NET 2003
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01015453
Message ID:
01015453
Vues:
58
This will be a real .NET 101 question but I am struggling to locate an easy to understand solution.
I have icon files that are used by buttons, menus and forms in my Windows Forms application.

How can I store these so that I may simply reference them in my project and the project will know where to find them at run/compile time?

Right now when I use an icon I click the property to assign the icon (e.g. Winform.Icon) and use the Open file dialog that is displayed to "hardcode" an icon to the property. This works but really is a pain if I want to change this icon in 20 or so different places (First I must remember every property that I changed to point to a particular icon and then I must alter that property to point to a new icon).

Any suggestions?
THANKS
Joe Salvatore, Programmer/Analyst - The Stellar Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform