1
The idea is, there is a Main Combobox, each with a customer from 4 different cities, I wanted to select a customer on Combobox, press the button and remove from this Combobox and insert in the corresponding city of it.
Summarizing: I want to take an item, remove it and put in the selected Combobox.
I tried using IF, since each Combobox starts with 0, but when adding to Combobox, it returns a value that contains something inside, but shows no text. (Example of what I tried)
if (cboClientes.SelectedIndex == 0 || cboClientes.SelectedIndex == 2 || cboClientes.SelectedIndex == 3 ||
{
cboVarginha.Items.Add(cboClientes.SelectedIndex);
cboClientes.Items.RemoveAt(cboClientes.SelectedIndex);
}