How to know if an Control is active or disposed

G

Guest

Hi,
I have an Windows mobile 5.0 application to which i am adding / removing
labels at runtime.

Some times i am getting an object disposed exception while trying to update
the label using invoke from some other thread.

Is there any way i can know if a control is active or is disposed?

Thanks,
Murthy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top