[]
Initializes a new instance of a BadWordEventArgs.
public BadWordEventArgs(Form dialog, Control control, CharRange error, CharRangeList errors)
Type | Name | Description |
---|---|---|
Form | 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. |