Jump to content

  •  

  • iBotModz CBox


    Photo

    Recurrsively Load Directories/Folders...


    This topic has been archived. This means that you cannot reply to this topic.
    No replies to this topic

    #1 Dark Slipstream

    Dark Slipstream

      Blue Shadowz Owner

    • Members+

    • 2,829 posts
    • Joined: 19-April 08

    Posted 27 June 2009 - 11:46 AM

    Recurrsively Load Directories/Folders into MenuStrip.

    Basicaly, on form load, it would load every directory in each previous directory, and each file into each directory.

    so let's say i got the following folders:

    \bin
    \bin\release
    \360
    \360\tuts
    

    My current code will load them into btnOptions, and is not filtering them correctly. When I click btnOptions, it currently looks just like the above, but it should look likethis:

    \bin\release
    \360\tuts
    

    I can do this if I copy and paste the check into each check (foreach loop), but then it'll look like crap. I'm wondering if anyone knows a way to recurrsively check all controls on the form.