Exemplo n.º 1
0
 private void cmbDatabaseType_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cmbDatabaseType.SelectedItem != null)
     {
         btnGenerateConnectionString.Enabled = PluginsManager.CheckIfPluginHaveCustomConnectionStringsForm(cmbDatabaseType.SelectedItem as SupportedPluginComponent);
         txtConnectionString.ReadOnly        = false;
     }
     else
     {
         btnGenerateConnectionString.Enabled = false;
         txtConnectionString.ReadOnly        = true;
     }
 }