摘要:
一.一个递归方法取得页面上所有类型为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 阅读全文