Image Processing RRS feed

  • Question

  • I have some image in my local machine in a folder. Now I need these image load one after another button_click event. How can I done it please any one help me
    Friday, May 17, 2013 5:30 PM


  • Hi,

    use the DirectoryInfo and GetFiles/EnumerateFiles methods to fill a List<FileInfo>. Create a class wide field variable "_index", When clicking the button, load the file at the current index and increment the index-variable...(also check for the end of the list)



    • Proposed as answer by Mike Feng Monday, May 20, 2013 2:55 PM
    • Marked as answer by Mike Feng Thursday, May 23, 2013 1:46 PM
    Friday, May 17, 2013 8:57 PM