Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
how do make slide show in window form application using picture box
Posted

1 solution

Load your slide images into an array.

Add a timer to your form and set it to the appropriate time interval.

In the timer's _Tick event, set the PictureBox image to the next one in the array.
 
Share this answer
 
Comments
Member 10720633 2-Jul-14 7:07am    
can u give me the example code of that
ZurdoDev 2-Jul-14 10:17am    
Just look up each item you are stuck on. It's not hard to do it and will be much faster for you to learn than for someone else to do it all for you.
johannesnestler 2-Jul-14 10:22am    
agree - if you can't write that code .NET programming basics are missing
johannesnestler 2-Jul-14 10:19am    
This approach may work if memory consumption is not a problem, if it is you have to load/unload your Images on each timer tick. Btw if you are going to draw the Images dynamically there is no need for any PictureBox-Control. Better use Paint event of any control (could be the whole Form) and paint your pictures there (via DrawImage-method of the Graphics object).

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