I know how to display an image ( .PNG ) from a file.
Firstly, I show the list of (.PNG) files in a folder. After choosing the name of the file I want to display, then I shows that picture.
But what I want to do is when I choose a folder, an image that is stored in a folder must be displayed and whenever I click " next" command, the next png file must be displayed.
How can I do that? How can I read the name of the next (.PNG) files without selecting that from a folder?