C#遍歷窗體全部控件或某類型全部控件

//遍歷窗體全部控件, foreach (Control control in this.Controls) { //遍歷後的操做... control.Enabled = false; }  遍歷某個panel的全部控件html foreach (Control control in this.panel4.Controls) { control.Enabled = fa
相關文章
相關標籤/搜索