private void cmbboxConnType_TextChanged1(object sender, EventArgs e)
{
ComboBox senderComboBox = (ComboBox)sender;
if (senderComboBox.Text == "Свои настроки")
{
cmbboxDBType.Enabled = true;
rtextboxConnectionString.ReadOnly = false;
btnSetConnSettings.Enabled = true;
}
else
{
cmbboxDBType.Enabled = false;
rtextboxConnectionString.ReadOnly = true;
btnSetConnSettings.Enabled = false;
}
}