日期:2014-05-18 浏览次数:21024 次
Button[] btns = new Button[100]; int i = 0; foreach( Control c in this.Controls) { if (c is Button) { btns[i] = c; i++; } }