I run a series of time consuming operations on a background worker thread. At various stages I update a (windows form) progress bar by invoking a delegate. However, one of the more time operations occurs on a single line of code.
Is it possible to :
a) Update the UI while that single line of code is being executed, or at least display an animated icon that shows the user that work is being done.
b) Let the user cancel the background worker thread while that single line of code is being executed