void OnSeclectChanged()
{
int i;
for (i = 0 ; i < this.Controls.Count; ++i)
{
if (this.Controls[i] != this.cbxSelect)
{
EnableControl(this.Controls[i],this.cbxSelect.Checked);
}
}
}
void EnableControl(Control obj, bool enable)
{
obj.Enabled = enable;
int i;
for (i = 0 ; i < obj.Controls.Count; ++i)
{
EnableControl(obj.Controls[i],enable);
}
}