private void RefreshServerComboBox() { var dataSource = ServersConfig.GetInstance().GetServerDetailsList(); ComboBoxAvailableServers.DataSource = dataSource; ComboBoxAvailableServers.DisplayMember = "Name"; ComboBoxAvailableServers.ValueMember = "Details"; ComboBoxAvailableServers.Refresh(); }