If you have a form.showdialog that is performing a background task that eventually updates the UI, but it is closed before it is finished, I get “cannot access a disposed object” error.
What’s the best way to handle this?
Thanks,
Andrew
There is the property IsDisposed or Disposing.
Please login first to submit.