private void cbDataProvider_SelectedIndexChanged(object sender, System.EventArgs e) { if (cbDataProvider.Text == "ODBC") { lODBC.Visible = cbOdbcNames.Visible = true; DesignerUtility.FillOdbcNames(cbOdbcNames); } else { lODBC.Visible = cbOdbcNames.Visible = false; } }