foreach (string item in listBoxAvailableStops.Items) { if (listBoxSelectedStops.Items.Contains(item) == false) { listBoxSelectedStops.Items.Add(item); } else { MessageBox.Show("These Stops are already selected!"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)