如何向ImageList控件里添加图片呢??
private ImageList img=new ImageList();
Image myImage=Image.FromFile( @"f:\Image.gif",true);
img.Images.Add(myImage);
这样添加对吗????
如果对我怎么获取myImage对象的索引值呢????