I have a form that uses a background worker, and I was just wondering if I need to Dispose of it personally, or if it does it by itself when the event is compelted. I would assume it will Dispose of itself, but I just need to make sure I tie up all loose ends.
Thanks!

Neither -- the background worker is destroyed when the form is disposed (assuming you have dropped a background worker from your toolbox on to the form). If you have declare the background worker as a member then you need to pop in to your designer file and add it to the Dispose() method yourself.

Okay cool, it was from the toolbox.
Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.