'AddHandler' definition missing for event '<eventname>'
If an event is declared as Custom, it must supply a procedure for adding an event handler.
Error ID: BC31130
To correct this error
Include an AddHandler declaration between the Custom Event statement and the End Event statement.
Verify that other procedures within the event declaration end correctly.