L
Lloyd Dupont
I have a combo box and I set its DataSource property to an ArrayList whose
first item is null.
this combobox is in a panel wich is added/removed to a main form.
If I set the DataSource before showing the the panel there is a
ArgumentNullException which is thrown when I add the PANEL to the main form.
I had trouble understand why.
what's more puzzling, if I set the DataSource after the the panel is added
is displayed, I have no ArgumentNullException ...
first item is null.
this combobox is in a panel wich is added/removed to a main form.
If I set the DataSource before showing the the panel there is a
ArgumentNullException which is thrown when I add the PANEL to the main form.
I had trouble understand why.
what's more puzzling, if I set the DataSource after the the panel is added
is displayed, I have no ArgumentNullException ...