// This code snippet is from the SO thread linked above (by Ed S) void ChangeEnabled( bool enabled ) { foreach ( Control c in this.Controls ) { c.Enabled = enabled; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)