NetControlBox.OnEvent

Syntax

Sub OnEvent(Sender: Object; Args: INetControlBoxEventArgs);

Begin

//set of operators;

End Sub OnEvent;

Parameters

Sender. Parameter returning the component that has generated the event.

Args. Parameter allowing to determine event parameters.

Description

The OnEvent event takes place if for the .NET component that is loaded into NetControlBox, any event, added to the list of tracked events, occurs. Adding of events to the list of tracked events is implemented by the AttachHandler method.

Example

The example of use is given in description of the CreateControl method.

See also:

NetControlBox

INetControlBox.AttachHandler