¡@

Home 

c# Programming Glossary: listbox1.listindex

How to move item in listBox up and down?

http://stackoverflow.com/questions/4796109/how-to-move-item-in-listbox-up-and-down

UpClick only if the first item isn't the current one if listBox1.ListIndex 0 add a duplicate item up in the listbox listBox1.AddItem listBox1.Text.. item up in the listbox listBox1.AddItem listBox1.Text listBox1.ListIndex 1 make it the current item listBox1.ListIndex listBox1.ListIndex.. listBox1.ListIndex 1 make it the current item listBox1.ListIndex listBox1.ListIndex 2 delete the old occurrence of this item..