可以在 Form.Controls 集合中进行查找。 foreach ( Controle c in this.Controls){ ... }
in webform, it is very easy to form a very deep tree hierarchy of controls, that is why they provide a FindControl methodbut in winform, the control hierarchy is normally very shallow, so you can use a simple loop to find the control, or use a HashTable
foreach ( Controle c in this.Controls){
...
}