Hello All,
I have a tabcontrol control , In the tabpage1 I have listbox with some items, and in the tabpage2 I have a combo box, How to transfer the items(all the items) from the Listbox in tabpage1 to Combo box in tabpage2 without User selecting the items in the listbox.
The below code transfers only one selected item, but I want to transfer all the items....
private void ListBox1_SelectedIndexChanged(object sender, EventArgs e)
{
comboBox1.Items.Add(listBox1.SelectedItem);
}
Thank you all....