K
Kristopher Wragg
Hi,
I'm creating a customized picturebox that will have an array of images
and some properties that will allow the picturebox to change its image
to one of the images in the array depending on events that it registers
for...
I'm having trouble storing an array of images though,
I've tried Image[] but this doesn't work correctly, I've tried
ImageList.ImageCollection but this doesn't save images once you've
selected them, I've tried ShouldSerialize procedure, that didn't help.
The only thing I've got to work is adding an ImageList, but I dont
particulally want that as I want customers to be able to drop a
PictureBox onto the canvas and just set the images in the property
panal, not mess around adding an ImageList etc...
any ideas?
Thanks,
Kris Wragg
I'm creating a customized picturebox that will have an array of images
and some properties that will allow the picturebox to change its image
to one of the images in the array depending on events that it registers
for...
I'm having trouble storing an array of images though,
I've tried Image[] but this doesn't work correctly, I've tried
ImageList.ImageCollection but this doesn't save images once you've
selected them, I've tried ShouldSerialize procedure, that didn't help.
The only thing I've got to work is adding an ImageList, but I dont
particulally want that as I want customers to be able to drop a
PictureBox onto the canvas and just set the images in the property
panal, not mess around adding an ImageList etc...
any ideas?
Thanks,
Kris Wragg