Designing an Interface for BackgroundWorker
In my windows forms applications I have a class that extends a backgroundworker, let's call it ExtendedBGW1.cs in my form class I declare it like a member variable so I have scope for the entire class like so: public partial class Main : Form { ExtendedBGW1 ebgw1; } Later on in the forms constructor I do this public Main() { InitializeComponent(); ebgw1 = new ExtendedBGW1(); InitializeBackgoundWorker(); } My InitializeBackgroundWoker() method looks like this private void InitializeBackgoundWorker() { ebgw1.DoWork += new DoWorkEventHandler(ebgw1.worker_DoWork); ebgw1.RunWorkerCompleted += new