Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • Leaders
Posted
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.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...