var allControls = form.Controls.OfType<Control>().SelectRecursive(x => x.Controls.OfType<Control>()).OfType<ContainerControl>();
852900cookie-checkC# Windows Forms Select Recursive Controls
var allControls = form.Controls.OfType<Control>().SelectRecursive(x => x.Controls.OfType<Control>()).OfType<ContainerControl>();