Why won't background worker execute code inside _RunWorkerCompleted event?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Christopher T
    New Member
    • Jan 2011
    • 1

    Why won't background worker execute code inside _RunWorkerCompleted event?

    I am working on a C# .net 2.0 winform application. The user enters data into the main form and clicks the "run" button. A form called "optionsWin dow" is displayed via optionsWindow.S howDialog(). The user selects a few options on this form then clicks a "go" button. This button kicks off a background worker that runs a 3 minute process. On worker complete, I want to close the optionsWindow and open a processComplete form... but the code I put inside the _RunWorkerCompl eted does not seem to execute... I know the background process is completing (I can see the output files from the process) and I placed a Console.WriteLi ne inside that is being fired... What on earth is wrong???
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Do you have the actual relevent code?

    Comment

    Working...