PDA

View Full Version : Listbox Selection Mode MultiSimple/Extended how to sort item in sequence of selection



Bsbosa.com
07-14-2010, 08:05 AM
Hi Im pretty new at C# (and also new here!). I am working on a form with a listbox with Multisimple selection mode. Problem is when i select the files, I want the file selection to be in the order of selection

eg

lets say i have item '1', '2', '3' in the listbox

'1'
'2'
'3'

i want to select '3',then '1' and lastly '2' but the items in listBox1.SelectedItems are always stored in '1''2''3'.

Thanks in advance