mael45
Messages postés11Date d'inscriptionmardi 1 février 2005StatutMembreDernière intervention24 mai 2005
-
24 mai 2005 à 16:29
cs_Bidou
Messages postés5487Date d'inscriptiondimanche 4 août 2002StatutMembreDernière intervention20 juin 2013
-
25 mai 2005 à 07:40
Bonjour je ne sais pas comment charger une image dans une picturebox,
j'arrive a la charger au début, mais après si l'utilisateur veut
changer l image de la picturebox je sais pas comment faire???
cs_Bidou
Messages postés5487Date d'inscriptiondimanche 4 août 2002StatutMembreDernière intervention20 juin 201361 24 mai 2005 à 16:49
private void LoadNewPict(){
// You should replace the bold image
// in the sample below with an icon of your own choosing.
// Note the escape character used (@) when specifying the path.
pictureBox1.Image = Image.FromFile
(System.Environment.GetFolderPath
(System.Environment.SpecialFolder.Personal)
+ @"\