...
The Template device ships with two standard Event Publications: BeforeDecideProcessMessage and AfterDeviceProcessMessage.
To use the event in your code:
- Select the code item you want to add the even to.
- Drag the event into the proper place in the code OR right-click on the event and choose Copy Event Subscription Code. The locate the place in the code where you want to insert the event, right-click, and choose Paste.
- Modify the event code as necessary and save the device.
...