/// <summary> /// The background work has been completed. /// This method is called on the initial thread. /// </summary> private bool HandleWorkCompleted(Message message) { try { worker.OnRunWorkerCompleted(new RunWorkerCompletedEventArgs(result, error, false)); } finally { worker.OnDone(); } return(true); }