Suppose I have a form (frmMain) and a class (CheckStatus) that is
instantiated on Form_Load.
A [Start] button on the frmMain calls the CheckStatus.StartTimer method. The
timer fires every second and calls the CheckStatus.Timer_Tick method.
The code inside Timer_Tick is wrapped in a Try Catch block. Let's say
something goes wrong inside Timer_Tick and an exception is properly thrown.
Since the Timer_Tick is fired independently of the execution path on the
frmMain, how do I catch the exception in the Form?
Your input is much appreciated.
Thanks,
Paul Wu