If you trap an exception inside your control and don't know how to handle it - turn it into an event.

public event EventHandler<ExceptionEventArgs> Exception;
Raise the event inside the catch block.

0 comment(s) :

Newer Post Older Post Home

Blogger Syntax Highliter