/// <summary> /// Constructor for SyncEngine /// </summary> public SyncEngine() { // Attaching event handlers for sync backgroundWorkerForSync = new System.ComponentModel.BackgroundWorker(); backgroundWorkerForSync.DoWork += new DoWorkEventHandler(backgroundWorkerForSync_DoWork); backgroundWorkerForSync.WorkerReportsProgress = true; backgroundWorkerForSync.WorkerSupportsCancellation = true; // Attaching event handlers for presync backgroundWorkerForPreSync = new System.ComponentModel.BackgroundWorker(); backgroundWorkerForPreSync.DoWork += new DoWorkEventHandler(backgroundWorkerForPreSync_DoWork); backgroundWorkerForPreSync.WorkerReportsProgress = true; // Create the Intelligence object intelligentManager = new Intelligence(); }