foreach (Control c in _frm.groupBox_Car.Controls) { if (c is TextBox) c.Enabled = false;
if ( c is TextBox) c.text=""; }
posted on 2012-08-28 23:40 林中的鱼 阅读(245) 评论(0) 编辑 收藏 举报