private void frmServerSelect_Load(object sender, EventArgs e) { lstServers.Items.Clear(); //// Add default entry //lstServers.Items.Add("localhost-*"); serverList = ProgSettings.PopulateConnections(); if (serverList == null) { return; } if (serverList.Count <= 0) { return; } foreach (var thisConnection in serverList) { lstServers.Items.Add(thisConnection.ServerNameorIp + "-" + thisConnection.DatabaseName); } }