Control flow of program when event is raised
I created a simple component that raised an event in 1 of its method.
When this component was consumed by a client application and its method was called, the event was raised.
However some of the codes in the sub-program that called the method does not seem to get executed.
My question is, does the code in the event handler that handles the event, run concurrently with the codes of the method that raised the event?
Component1 has a method (method1) that raised an event (event1).
Client1 created an instance of component1 and invoked method1 in a subprogram (sub1), hence event1 is raised. Event1 is handled by an event handler (handler1).
Do the codes in component1.method1 wait for the code in client1.handler1 to finish execution before continuing or do the codes run concurrently (component1.method1 and client1.handler1)?
I hope you understand what I am trying to say.
Do appreciate if someone can help.
Thank you in advance.
Last edited by Magdalene; 10-13-2006 at 12:28 AM.
By bwwhite in forum ASP.NET
Last Post: 11-21-2005, 03:10 PM
Last Post: 10-05-2005, 07:28 AM
By tk in forum VB Classic
Last Post: 03-23-2001, 09:19 PM
By Glenn in forum ASP.NET
Last Post: 12-13-2000, 07:55 AM
By chery yvens in forum VB Classic
Last Post: 05-17-2000, 04:24 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL