BackgrounWorker component

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

I'm using a background worker component to load a large amount of data
in the background so that the UI stays responsive and repaints.

I disable the form set the Cursor to Hourglass, then call the
BGWorker.StartAsync() method to load the data.

Everything works, except that for some reason the mouse pointer
immediately reverts back to the normal pointer (and I know my code
isn't doing this).

Any ideas?
Andy
 
I believe you have to set UseWaitCursor to true on the parent of the
control.

Kennedy
 
Back
Top