private void button2_Click(object sender, EventArgs e)
{
int numberItems = listBoxMenu.Items.Count;
for(int i=0;i
if (listBoxMenu.GetSelected(i))
{
listBoxChosen.Items.Add(listBoxMenu.Items[i]);
listBoxMenu.Items.RemoveAt(i);
}
}
}
These code above try to insert selected item from lisboxMenu to listBoxChosen...
I appreciate for your help

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Oct 9, 2013, 7:47 PM EDT
private void button2_Click(object sender, EventArgs e)
{
int numberItems = listBoxMenu.SelectedItems.Count;
for(int i=0;i
listBoxChosen.Items.Add(listBoxMenu.SelectedItems[i]);
listBoxMenu.Items.RemoveAt(i);
}
}
Lucky Lam13 reputationPosted Oct 9, 2013, 8:14 PM EDT
Posted Oct 9, 2013, 8:30 PM EDT
if this code helps you please marke as answer
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Oct 9, 2013, 11:50 PM EDT
private void button2_Click(object sender, EventArgs e)
{
listBoxChosen.Items.Add(listBoxMenu.Items[listBoxMenu.SelectedIndex]);
listBoxMenu.Items.RemoveAt(listBoxMenu.SelectedIndex);
}