Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images on buttons disappear
Message
De
10/03/2006 13:53:43
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01102909
Message ID:
01103218
Vues:
12
I thought that might be it, since I later saw a similar post from you under the MM category. =)

~~Bonnie



>It turned out to be a problem in the framework I was using.
>
>Thanks,
>Rick
>
>>>I have a form, I drop an imagelist on the form and put 2 images into it.
>>>
>>>I drop two command buttons on the form, and I set the imagelist of the buttons to the form's imagelist. I set the image of the two buttons.
>>>
>>>I see the image on the design surface, but when I run the app, the images are not visible.
>>>
>>>The images are included in the project, but not as a resource.
>>>
>>>Any ideas?
>>>
>>>Thanks,
>>
>>Ric,
>>
>>The executable is run from the bin folder which is a different relative path to the original image files. If the images will not be included in the compiled exe, you will have to make allowances for the path difference in your code.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform