I don't know much about Windows Message Pump but i guess events are triggered using Message Pump.
1) When my Web browser control navigates to some websites it creates different events of Document Completion. Once I have what I need in WebBrowser_Document_Completed() I want to ignore all further Document Completion.
How can I do it?
2) If I show a MessageBox() in Document_Completed(...), It shows multiple message boxes, so it is running on parallel threads, but when I debug it I find that it runs always on main thread.
When are the other two threads created?
3) Also, when I press Close it closes the window but the process is still running in the background. I am not using any other thread yet I still see two other threads when I debug.