[]
Initializes a new instance of a BadWordEventArgs.
public BadWordEventArgs(Control dialog, Control control, CharRange error, CharRangeList errors)
| Type | Name | Description |
|---|---|---|
| Control | dialog | Dialog that raised the event, or null if the event was not raised by a dialog. |
| Control | control | Control being spell-checked. |
| CharRange | error | CharRange that contains the bad word and its position within the text. |
| CharRangeList | errors | CharRangeList that contains all the bad words found in the text. |