Looping through objects and their subobjects and their subobjects etc
C#
3
Posts
2
Posters
0
Views
1
Watching
-
How can I loop through every single toolstripmenuitem in a toolstrip, including the subitems of each item, and each of the subitems of that item, and each of the subitems of that item (with no set limit to how deep it can go)?
Make a function to call itself, but beware you can easly get infinitive loop if you are not careful. Recursion made simple[^]
-
Make a function to call itself, but beware you can easly get infinitive loop if you are not careful. Recursion made simple[^]