摘要: 一.一个递归方法取得页面上所有类型为textbox的控件,并对其清空,相信你看了后有所感悟。 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 private void Button1_Click(object sender, System.EventArgs e) 2 { 3 foreach (Control ctl in this.Controls) 4 { 5 this.txtClear(ctl); 6 } 7 } 8 priv 阅读全文
posted @ 2010-09-26 09:47 xfyn 阅读(3706) 评论(0) 推荐(1) 编辑