using System;
using System.ComponentModel;
using System.Threading;
namespace Common.system
{
///
/// 后台线程帮助类
///
public class BackgroundWorkerHelper : IDisposable
{
private static BackgroundWorkerHelper backgroundWorkerHelper = null;
public static BackgroundWorkerHelper GetInstance()
{
if (backgroundWorkerHelper == null)
{
backgroundWorkerHelper = new BackgroundWorkerHelper();
}
return backgroundWorkerHelper;
}
private BackgroundWorker backWorker = null;
private Func