How do I best write my own background-working and communicatible (sending progress updates and getti

Posted by Ivan on Stack Overflow See other posts from Stack Overflow or by Ivan
Published on 2010-04-30T18:02:06Z Indexed on 2010/04/30 18:07 UTC
Read the original article Hit count: 182

I have to develop a class which can run it's own hard-coded task in a background thread and communicate with container class sending him progress updates and taking messages from it. I believe I am going to extend BackgroundWorker class but it looks a bit weird to extend and I haven't managed to find a good example wit Google. Can you share a link to a good example of solving such a task? Please don't offer placing a BackgroundWorker visually on a form and reading the standard tutorial, it's not for my case. Maybe I'd better not extend but encapsulate a BackgroundWorker, but I hardly understand how to use it outide WinForms designer either :-(

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET