Panel2中的控件都是Button,以下代码出错:
For Each c As WinForm.Control In e.Form.Controls("Panel2") If c.Name= "订单审核" c.Enabled = False End If
Next
请问如何修正?