By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,330 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,330 IT Pros & Developers. It's quick & easy.

02 questions a bout imageList

P: n/a
Hi a guys
02 questions a bout imageList please help me if you have an idea

I have a strange probleme with imageList, I added some images at designtime
and I can see the images
but at runtime
MessageBox.Show(imageList.Images.Count.ToString()) ; display 0
and imageList.Images[0] fails

if i added images at run-time with :

Image FileImage = new Bitmap("MyBitMap.bmp");

all are oK

Does anybody have a clue what cause this behavior

how can I share the same imagelist for all Forms,
i thought put this control on the top of my forms hierarchy but i'm not sure
if it's a good design

thank you

Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.