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:
01416543
Vues:
61
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform