private void rawConnectionStringCheckBox_CheckedChanged(object sender, EventArgs e) { bool isRaw = rawConnectionStringCheckBox.Checked; RawConnectionStringTextBox.Enabled = isRaw; label1.Visible = isRaw; }