看看是啥小问题
Tag可以用来标识控件例如Label la = new Label();
la.Tag="10086";
this.Controls.Add(la);
foreach(Control con this.Controls)
{
if(con.Tag.Equales("10086"))
{
MessageBox.Show("就是你了我的Label看你网哪跑!");
}
}
Tag可以用来标识控件例如Label la = new Label();
la.Tag="10086";
this.Controls.Add(la);
foreach(Control con this.Controls)
{
if(con.Tag.Equales("10086"))
{
MessageBox.Show("就是你了我的Label看你网哪跑!");
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货