摘要:
foreach (Control c in this.Controls){if (c is ComboBox){c.Enabled = false;}} 阅读全文
摘要:
/// /// 遍历界面中的所有控件 /// /// private void SetNotEditable(UIElementCollection uiControls) { foreach (UIElement element in uiControls) { if (element i... 阅读全文