Click to See Complete Forum and Search --> : icons in imagelist


jasie24
March 18th, 2004, 07:01 AM
When i add a couple of icons from a directory in an imagelist,and i delete after that the directory,and run the application it will show me the icons?
Or,in another way,the icons once put it in imagelist,does it matter if it exist the directory from where i insert them or not?
Thanks!

lee.newfeld
March 18th, 2004, 08:12 AM
When you add an image to an ImageList control, a copy of the image data is added to your project - it's stored in the <formname>.resx file. When you build your project, the information in the resx file is compiled and stored as an 'embedded resouce' in the output assembly...

So the short answer is: Yes, you can delete the source images :D