//Uppdaterar land private void Button_Click_2(object sender, RoutedEventArgs e) { var currname = lvCountriesEdit.SelectedValue.ToString(); var name = tbCountryName.Text; var curr = tbCurrency.Text; var sub = Int32.Parse(tbMaxCash.Text); var logic = new LogicHandler(); logic.uppdateCountry(currname, name, curr, sub); lvCountriesEdit.Items.Clear(); PupulateListViewCountries(); }