Identify the signature for an event handler on a third-party .NET object
- Last Updated: January 17, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
Identify the signature for an event handler on a third-party .NET object
As described in the previous section, you can identify the signature required for an event handler from the .NET documentation for the event.
To identify the signature required for any ABL method or procedure that you want to define as a handler for a .NET event on a third-party .NET object, such as a Microsoft or an Infragistics object:
Note: For any ABL method or internal procedure
defined as a .NET event handler, if you never intend to actually use
the second parameter of its signature, or you prefer to cast the
object reference to its specified event arguments subclass at some
later point in the event handler block, you can always define this
parameter using the common event arguments base class,
System.EventArgs.