public void SetControlEnabled(SQLConnectionSubControl control, bool enabled) { _controls[(int)control].Enabled = enabled; }