Jump to content

cbox


Recurrsively Load Directories/Folders...


Dark Slipstream

Recommended Posts

Posted

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...