hello all,
I am having a ListBox control on my Windows Form (C#).
I fill this ListBox with and ArrayList.
I have 2 buttons, Up and Down, which I am using to change the item's position in ListBox. When Up is clicked after selection an item in the ListBox, I want that the item moves at one position up and the other item(s) adjust accordingly. Ans when the down button is pressed, the selected item in the ListBox moves down and the other item(s) adjust accordingly. It is somewhat Swap like task.
I am not able to do this yet.
Anyone please help me to accomplish this job!
Thank you all,
.NET Development7
|