[This is preliminary documentation and is subject to change.]
Create a new SubscribedEvent class.
Namespace:
Forcepoint.GUISSAssembly: Forcepoint.GUISS (in Forcepoint.GUISS.dll) Version: 0.2.0.1 (0.2.0.1)
Syntax
Parameters
- controlName
- Type: System..::.String
Pass in Null to make this event register to the Form instead of a control.
- eventName
- Type: System..::.String
The Event's name.
- genericEvent
- Type: GenericEventHandler
A Subscriber.GenericEventHandler EventHandler.
Examples
CopyC#
new SubscribedEvent("btn_ChangeColor", "Click", new Subscriber.GenericEventHandler(btn_ChangeColor_Click));