I need to find controls in my forms. In asp.net I used Recursive method to do it, now how to do in winforms?
public static Control FindControlRecursive(Control root, string id)
if (root.ID == id)
.Select(c => FindControlRecursive(c, id))
.FirstOrDefault(c => c != null);
Last updated:1/23/2014 12:19:01 AM