public AsyncManager()
 {
     m_eventArgs = new UpdateStatusArgs();
     worker.ProgressChanged += ProgressChanged;
     worker.WorkerReportsProgress = true;
     worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(runWorkerCompleted);
 }
        ///Handles complete event
        ///Uses the custom class UpdateStatusArgs.
        private void CompletedStatusEventHandler(object sender, UpdateStatusArgs e)
        {
            FindFileManager finder = (FindFileManager)sender;
            List<FileInfo> list = finder.fileList;

            foreach (FileInfo file in list)
            {
                updateStatus(file.FullName);
            }

            Cursor = Cursors.Default;

            m_curState = STATE.READY;
            updateUI();
        }
 protected void completedEvent(UpdateStatusArgs e)
 {
 }
 private void UpdateStatusEventHandler(object sender, UpdateStatusArgs e)
 {
     updateStatus(e.status);
 }
 private void UpdateStatusbarEventHandler(object sender, UpdateStatusArgs e)
 {
     updateStatusLabel(e.status);
 }