forget it, I found it, it's describe in my combo box bug report....
"Lloyd Dupont" <net.galador@ld> wrote in message
news:(E-Mail Removed)...
> I have an ArgumentNullException which is thrown when I write (in a form)
> Controls.add(aPanel);
>
> aPanel is not null, as shown by the debugger !
>
> the only weird thing I do is:
> at some time I remove this panel from the form and (with a thread calling
> Invoke()) I call (after its remove from the hierarchy) a method on it (in
> the event loop, Invoke(), remember ?)
>
> And when I add it again in the hierarchy I have this error ...
> any similar experience ?
>
>
|