CC#•Created by nichtfamedominik on 9/18/2023 in #help ❔ ComboBox | When in ComboBox1 "A" selected then show in combobox2 "B"
string curItem = comboBox4.SelectedItem.ToString();
int index = comboBox4.FindString("Hamburg");
if (index == -1)
comboBox1.Text = "Derzeit keine Einträge vorhanden";
else
comboBox1.Text = "Hamburg-Lübeck";