ComponentOne SpellChecker for WinForms
C1.Win.SpellChecker.8 Assembly / C1.Win.SpellChecker 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.

In This Topic
    BadWordEventArgs Constructor
    In This Topic
    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