Fired when a spell check dialog has closed.
The event handler receives an argument of type SpellCheckDialogClosedEventArgs containing data related to this event. The following SpellCheckDialogClosedEventArgs properties provide information specific to this event.
This sample shows how to notify users that spell checking with a spell check dialog has completed successfully
For an overview of how to handle events in Visual Basic or Visual C#, see
Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see
Consuming Events in the
.NET Framework Developer's Guide.
Imports Infragistics.Win.UltraWinSpellChecker
Private Sub ultraSpellChecker1_SpellCheckDialogClosed(ByVal sender As Object, ByVal e As SpellCheckDialogClosedEventArgs) Handles ultraSpellChecker1.SpellCheckDialogClosed
'If the dialog has closed normally...
If e.DialogResult = DialogResult.OK Then
'Notify the user that spell checking has completed
MessageBox.Show("Finished spell checking")
End If
End Sub
using System.Windows.Forms;
using Infragistics.Win.UltraWinSpellChecker;
private void ultraSpellChecker1_SpellCheckDialogClosed( object sender, SpellCheckDialogClosedEventArgs e )
{
//If the dialog has closed normally...
if( e.DialogResult == DialogResult.OK )
{
//Notify the user that spell checking has completed
MessageBox.Show( "Finished spell checking" );
}
}
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2