L
lucyh3h
I have a ComboBox in Form1 which is bound to an ArrayList. When I show
Form2, Form1 is hidden. In Form2, I updated the ArrayList and an event
is fired, so the event handler in Form1 will rebind the ComboBox to the
ArrayList. I do this by resetting the DataSource, DisplayMember and
ValueMember of the combobox.
The problem I have now is, when Form2 is closed and Form1 is shown
again, the combobox is not repainted. It is a "DropDownList" combobox.
I can see the drop down when I click it, but not the top part.
Has anyone seen this before and what's your solution?
Thanks!
Lucy
Form2, Form1 is hidden. In Form2, I updated the ArrayList and an event
is fired, so the event handler in Form1 will rebind the ComboBox to the
ArrayList. I do this by resetting the DataSource, DisplayMember and
ValueMember of the combobox.
The problem I have now is, when Form2 is closed and Form1 is shown
again, the combobox is not repainted. It is a "DropDownList" combobox.
I can see the drop down when I click it, but not the top part.
Has anyone seen this before and what's your solution?
Thanks!
Lucy