hi !!!
First drag and drop imageList control from your ToolBox to the form...
Go to the imagelist properties...and in there select
Images property....select a few images.....
Set the
ColorDepth Property to Depth32Bit..
this property determines the color resolution of your images...
Set the
ImageSize property to the picture Box size.....
Put up a button in your form and a picture box too...
Declare a global variable such as
int i=0;
Now Put up this code into thr button click event
-
if (i < imageList1.Images.Count)
-
{
-
pictureBox1.Image = imageList1.Images[i];
-
i++;
-
}
-
else
-
{
-
i = 0;
-
}
-
this code will show images one by one in the image list.....and will keep revolving.......