Sub OnEvent(Sender: Object; Args: INetControlBoxEventArgs);
Begin
//set of operators;
End Sub OnEvent;
Sender. Parameter returning the component that has generated the event.
Args. Parameter allowing to determine event parameters.
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.
The example of use is given in description of the CreateControl method.
See also: