Move Up, Move Down Buttons for ListBoxes in Visual Studio [duplicate]
问题 This question already has answers here : How to move item in listBox up and down? (15 answers) Closed 6 years ago . I am trying to make a Move Up Button, and a Move Down Button, to move a selected item in a ListBox in Microsoft Visual Studio 2012. I have seen other examples in WDF, jquery, winforms, and some other forms but I haven't seen examples from Microsoft Visual Studio yet. I have tried something like this: listBox1.AddItem(listBox1.Text, listBox1.ListIndex - 1); But Microsoft Visual