//通过控件名称 获取控件
private Control GetControl(string name)
{
foreach (Control c in this.Controls)
{
if (c.Name == name)
{
return c;
}
}
return null;
}