for (int i = 0; i < this.Controls.Count; i++)
{
    foreach (Control control in this.Controls[i].Controls)
    {
        if (control.HasControls())
        {
		//子控件		
        }
        else
        {
            if (control is Label)
            {
                count++;
            }
        }
    }
}




黑色头发:http://heisetoufa.iteye.com/