Have you tried the VS2005 ReSharper add-in? It's currently in EAP (beta), but these ReSharper guys work fast!
Thanks,
Derek
Wilco:
Re setting the result arg: Doh! How could I miss that??
Re "That sounds strange. Are you sure your ReportProgress(100, userState) call is resulting in the "RunWorkerCompleted" event? I doubt it. But if you expect the "userState" you pass to ReportProgress is available in the RunWorkerCompleted event":
OK, I give up. What other way is there to trigger the ended event? And yes - it works.
The RunWorkerCompleted event should be raised when the work in the background thread is completed (ie. the DoWork eventhandler returned). Therefore, there isn't any way to manually raise this event.
Reshaper for 2005 simply doesn't work. Or, at least, three of my co-workers and myself could not have gotten it to NOT HANG when loaded. I really can't wait for a working version.
Recently I've started a project in vs2003 after more then 10 months of working with vs2005, and the only bright spot is the ability to use Resharper...
Roy, great port.
Ctrl+. should work instead of Alt+Shift+F10 to bring up the smart tags.
post, post. Should be "post". When I mistype - I do it big timw. :)