"Peter Duniho" <(E-Mail Removed)> wrote in message
news

(E-Mail Removed)...
Thanks for the detailed reply. I didn't understand it all but you gave me
some things to look into.
> All that said, I would suggest that if you're passing a complex data
> structure back for the ProgressChanged event, you might want to rethink
> that. The point of BackgroundWorker is simply to address the cross-thread
> issues for Forms or WPF components.
It's just a class--it's not that complex. I have some code that runs for
days and I want the display to show me the details of what is going on so I
pass an object that contains the various bits of information.
Perhaps it would be worth making a copy of the class object and passing the
copy. Never done that in C# but could always to it member-by-member if
needed.
Let's see... Looks like I'd need to implement IClonable in my class.
Thanks!
Jonathan