private BackgroundWorkerEventArgs _eventArgs; //异常参数

        public ProcessOperator()
        {
            _backgroundWorker                     = new BackgroundWorker();
            _processForm                          = new ProcessForm();
            _eventArgs                            = new BackgroundWorkerEventArgs();
            _backgroundWorker.DoWork             += new DoWorkEventHandler(_backgroundWorker_DoWork);
            _backgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(_backgroundWorker_RunWorkerCompleted);
        }
 public PercentProcessOperator()
 {
     _processForm = new ProcessForm();
     _eventArgs   = new BackgroundWorkerEventArgs();
     _processForm.ProcessStyle = System.Windows.Forms.ProgressBarStyle.Continuous;
     _backgroundWorker         = new BackgroundWorker();
     _backgroundWorker.WorkerReportsProgress = true;
     _backgroundWorker.DoWork             += new DoWorkEventHandler(_backgroundWorker_DoWork);
     _backgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(_backgroundWorker_RunWorkerCompleted);
     _backgroundWorker.ProgressChanged    += new ProgressChangedEventHandler(_backgroundWorker_ProgressChanged);
 }