foreach (Control c in this.Controls)
            {
                if (c is ComboBox)
                {
                    c.Enabled = false;
                }
            }

posted on 2015-07-09 11:35  电脑小白  阅读(2206)  评论(0编辑  收藏  举报