Hi All,

I have a form that runs a foreach on a list. And during this I want each item in the list to show a dialog form (while running a background worker to run some changes). The problem is that I get the following error.

Cannot set Visibility or call Show or ShowDialog after window has closed.

What is the best method to get around this error? The dialog is basically a continuous progressbar that has text updated based on the background work being done. I want this because each item in the list will pace a value to the progressbar dialog form.