int listBoxSelectedItem = listBox1.SelectedIndex; listBox1.Items.RemoveAt(listBox1.SelectedIndex); listBox2.Items.RemoveAt(listBoxSelectedItem);