ComponentOne SpellChecker for WinForms
BadWordEventArgs Constructor

C1.Win.C1SpellChecker.4 Assembly > C1.Win.C1SpellChecker Namespace > BadWordEventArgs Class : BadWordEventArgs Constructor
Dialog that raised the event, or null if the event was not raised by a dialog.
Control being spell-checked.
CharRange that contains the bad word and its position within the text.
CharRangeList that contains all the bad words found in the text.
Initializes a new instance of a BadWordEventArgs.
Syntax
'Declaration
 
Public Function New( _
   ByVal dialog As System.Windows.Forms.Form, _
   ByVal control As System.Windows.Forms.Control, _
   ByVal error As CharRange, _
   ByVal errors As CharRangeList _
)
public BadWordEventArgs( 
   System.Windows.Forms.Form dialog,
   System.Windows.Forms.Control control,
   CharRange error,
   CharRangeList errors
)

Parameters

dialog
Dialog that raised the event, or null if the event was not raised by a dialog.
control
Control being spell-checked.
error
CharRange that contains the bad word and its position within the text.
errors
CharRangeList that contains all the bad words found in the text.
See Also

Reference

BadWordEventArgs Class
BadWordEventArgs Members