private void UpdateProfile() { currentUser = SQLManager.GetUser(loggedUser); label14.Text = currentUser.profileName; label16.Text = SQLManager.GetCountryFromID(currentUser.CID); textBox10.Text = currentUser.profileName; List <Country> countryes = SQLManager.GetCountryes(); foreach (Country country in countryes) { comboBox1.Items.Add(country.name); } comboBox1.SelectedItem = SQLManager.GetCountryFromID(currentUser.CID); UpdateFriends(currentUser.UID); }