ImageList shared from forms

cmarchiol

Newcomer
Joined
Aug 8, 2006
Messages
7
Location
Cividale - Udine - Italy
How can I shared the same ImageList between two forms?
If I create ImageList with form editor, it is viewed only in that form.
I create Image List from code (module) and it is viewd in all project forms but I want that the image loaded into imagelist haven't absolute path, I want that images are incapsulated into the project so the final .exe will be without reference.

Somebody can help me?

Christian
 
The designer does not support sharing an ImageList between forms. Depending on what you are doing (and what version of Visual Studio you have) you might be able to add the images to the project as embedded resources and share them between forms.
 
Back
Top