Click here to Skip to main content
16,016,477 members
Articles / General Programming / Threads

Fixing BackgroundWorker IsBusy property

27 Jan 2011CPOL 1.2K   2
As an uneducated and untested guess, I would try the Application.Idle event:private void buttonCancel_Click(object sender, EventArgs e){ //cancel the operation myBackgroundWorker.CancelAsync(); //process after thread function completed Application.Idle += new...
Only logged in members can view this content

Please go to the Threads Table of Contents to view the list of available articles in this section.