Azavea.NijPredictivePolicing.AcsAlchemistGui.MainForm.backgroundWorker1_DoWork C# (CSharp) 메소드

backgroundWorker1_DoWork() 개인적인 메소드

private backgroundWorker1_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
리턴 void
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            ImportJob job = (ImportJob)e.Argument;
            job.OnProgressUpdated += new ImportJob.ProgressUpdateHandler(this.backgroundWorker1.ReportProgress);
            e.Result = job.ExecuteJob();

            //EXTRA CREDIT: add support for cancellation
        }