C#遍历窗体全部控件或某类型全部控件

//遍历窗体全部控件, foreach (Control control in this.Controls) { //遍历后的操做... control.Enabled = false; }  遍历某个panel的全部控件html foreach (Control control in this.panel4.Controls) { control.Enabled = fa
相关文章
相关标签/搜索