Skip to content

Instantly share code, notes, and snippets.

@fayewest
fayewest / gist:627704
Created October 15, 2010 05:50
Recursively get controls
private void GetControls(ControlCollection controlCollection)
{
foreach (Control i in controlCollection)
{
controlsToParse.Add(i);
if (i.Controls.Count > 0)
GetControls(i.Controls);
}
}
Testing!
Test1
test2
test3
test4
Testing, testing, testing.
Test test test
Test test test
Something
blah blah
asdfsadf
asdfsadf
asdfsadf