//根据控件名称查找控件 //作用根据控件的配置项目, Control[] myfindcs = this.Controls.Find("button4", true); if (myfindcs.Length > 0) { //找到控件
}