Where is the "real " ImageList

  • Thread starter Thread starter sandman
  • Start date Start date
S

sandman

I created an ImageList in the .NET Designer. Now I can't figure out
where the images are located. Where is all this stuff stored and how do
I read it? (me personally, I mean -the computer is doing it just fine.)

sandman
 
sandman said:
I created an ImageList in the .NET Designer. Now I can't figure out
where the images are located. Where is all this stuff stored and how do
I read it? (me personally, I mean -the computer is doing it just fine.)

The bits for the images are stored in the resx file for the form the
imagelist is pasted onto.

For example,

<data name="_imagelist16x16x16.ImageStream"
mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFpTeX
N0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0xLjAuNTAw
--snip--
</value>
</data>

To put images in imagelist, in the designer select Properties for the
imagelist and select the "Images" property.

-- Alan
 
Thanks, Alan. I see it now. I thought it was loading the icons from my
hard-drive and I needed to move them into the project directory or
something.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top