private void cboDatabase_SelectedIndexChanged(object sender, EventArgs e) { TableName.Items.Clear(); _tablesColumns = _queryBuilderHelper.GetTablesColumns(DatabaseName.Text); TableName.Items.AddRange(_tablesColumns.Select(t => t.Key).ToArray()); }