switch class : Start() method
Starts the event handling.
Suppose you have the following class definition.
open method void LCHandler(dictionary dic)
... // event handler code.
Usage of the Start() method is as follows.
browser b = new browser();
handle h = new handle();
switch sw = b.LoadCompleted(h,"LCHandler(dictionary)");
sw.Start(); // The handler method will be called every time an event occurs.
The handler method is called each time an event occurs.
The method call continues until it is stopped explicitly or by an exception.
If this method is already called, re-call will be ignored.
Links for reference