Tuesday, July 14, 2009

Visual Studio 2008 for C#?

I'm working on a simple excercise and cannot figure out the code to.....


Create a form with two list boxes. Add a number of items to one list box at design time using the


Properties window. Create a button that, when clicked, removes the selected item in the first list and


adds it to the second list.


Thanks in advance to anyone that can help.

Visual Studio 2008 for C#?
Just create the two listboxes and populate one of them.


Create a button and add this to the button click method:


listBox2.Items.Add(listBox1.SelectedItem...


listBox1.Items.Remove(listBox1.SelectedI...


No comments:

Post a Comment