Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
how to view images one by one by clicking next button in c# windows application
Posted

Code.

A little more detail, you want? Ok.

Keep a list or array (preferably a list) of images, or paths to images within your form.
Have a PictureBox, and set it's Image property to one of the images.
Have a button, and handle the click event. Change the PictureBox Image property to the next image in the list.
 
Share this answer
 
Comments
Datta Kharad 28-May-11 6:06am    
Give me example(Code)
Datta Kharad 28-May-11 6:10am    
i mean that i am not clear of how to store the name and also the relation between the array and the image.
please help me as i am in great trouble. i am stuck with this thing....... thank a lot in advance..
OriginalGriff 28-May-11 7:11am    
You have been stuck on this since September?!
How far have you got?
Looks like you are looking for a SlideShow or an Album Viewer kind of feature. Have a look at this:
C# Photo Album Viewer[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900