📅  最后修改于: 2022-03-11 14:49:11.885000             🧑  作者: Mango
代码示例1
//disbable all except one thing
foreach (Control child in this.Controls)
{
if (child != panel1)
child.Enabled = false;
}