1 private void ResettaColori(Control control) 2 { 3 control.ForeColor = SystemColors.ControlText; 4 if (this.HasChildren) 5 { 6 foreach (Control childControl in control.Controls) 7 { 8 ResettaColori(childControl); 9 } 10 } 11 }