Use the WFC Component Builder to add and delete custom events from your controls. You can then avoid manually defining events in your control's ClassInfo class.
To add an event using the WFC Component Builder
Field | Value |
Name | checkedChanged |
Type | Event |
Category | Action |
Description | Occurs when the control's check box check state is changed. |
The WFC Component Builder adds the addOnCheckedChanged
, removeOnCheckedChanged
, and onCheckedChanged
methods to the code and adds an event definition in the control's ClassInfo class. The WFC Component Builder also adds an instance of the EventHandler delegate, which is used by the event.
The next step is to override inherited methods.