while searching for an answer, I found out it's an old "bug" in VS !(?) I am using VS2013. I simply don't believe that they didn't correct it, so I have to think it's intentional, or there's something I am not doing right...
I want to use ListBox to dislpay some simple results. I want that list to be read-only, items not selectable and so on. Just a display of a simple array of results.
I use an array as a datasource (lstBox.DataSource = somearray;), which I update by setting DataSource to null, then back to somearray. The problem is - if I set the listBox SelectionMode to "none", list gets stuck and it doesn't refresh anymore. I can't refresh it. If I set list as "disabled" instead, it's showing the results correctly, it's not selectable, no matter what SelectionMode says, but it's all greyed out... Any help on this ?
p.s. from what I've read, even setting datasource to BindingList or BindingSource doesn't rectify this problem...