you should be carefull when tring to move the lastitem up or the first item down, my program controls this somewhere esle outside the handler of the click button, you should write some code for that ( in my program in the SelectedIndexChanged event handler of the listbox it gets the selected index and enables and disables the up or down button when needed)