日期:2014-05-18 浏览次数:20883 次
foreach (var item in this.Controls) { Button btn; if ((btn = item as Button) != null) { btn.Text = "..."; } } ------解决方案--------------------