Visual Studio Windows Form button Image property


I am creating a fe buttons on a VS 2005 Windows form that include buttons that use
.gif files for their image porperty

Firstly is the best place to store these files in the Project Resource file?

Secondly how do you remove unwanted images from this area?
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
Jeff CertainConnect With a Mentor Commented:
Use an image list. Add it to your form like any other control.

Add (or remove) images using the ImageList.Images property from the designer.

You can then use the ImageList and ImageKey or ImageIndex properties on the button to pick the image you wish to display on the button. Personally, I'd recommend using the key, since the index may change if you add/remove/reorder the images.
hatem72Connect With a Mentor Commented:

Firstly :
Sharing and inheriting ImageLists across multiple forms and controls :

Secondly :
Right Click The  Image then chose [ Exclude Or Delete ]
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thank you very much

i am happy that i could help
Jeff CertainCommented:
Glad I could help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.