When an event is raised does the handler executes in the same thread as the main program or in another thread?.
Thanks !!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It gets executed on the thread that caused the event to occur.
Examples:
If you are doing GUI work this often means you need to marshall the event from the background thread to the GUI thread before touching any controls.