Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Load Image From Resource File
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01416518
Message ID:
01416573
Vues:
43
>>How do I load an image into a picturebox from the resource file?
>>
>>I spent many hours on Google looking for this, and all the solutions I tried didn't work. Someone show me how to do this please.
>
>Do you mean at design time or programatically?
>If the latter then something like :
this.pictureBox1.Image = global::ApplicationName.Properties.Resources.ResourceName;
where 'ApplicationName' is the name of the project containing the resource and 'ResourceName' is the name of the resource.
>HTH,
>Viv

That did it. Thanks!
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform