标签:sp for on bs as tt nbsp type c#
C#中,获取容器中所有控件
foreach (Control contr in this.palchangepassword.Controls)
{
contr.Visible = true;
}
C#中,获取容器中某种控件
foreach (Control con in this.Controls)
{
if (con.GetType() == typeof(Label))
{
con.Visible = false;
}
}
标签:sp for on bs as tt nbsp type c#
原文地址:http://www.cnblogs.com/FLWL/p/4118333.html