Label la = new Label(); la.Tag="10086"; this.Controls.Add(la); foreach(Control con this.Controls) { if(con.Tag.Equales("10086")) { MessageBox.Show("就是你了我的Label看你网哪跑!"); } }
111,126
社区成员
642,541
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧