You could use something like this:
foreach (System.Windows.Forms.Control ctrl in frm.Controls)
{
switch (ctrl.GetType().Name)
{
case "Button":
case "ToolStrip":
case "ToolStripMenuItem":
case "DataGridView":
Debug.Print(ctrl.Name);
break;
default:
break;
}
}