'宣言 Public Overloads Function ShowSpellCheckDialog( _ ByVal owner As IWin32Window, _ ByVal spellCheckTarget As Object _ ) As DialogResult
public DialogResult ShowSpellCheckDialog( IWin32Window owner, object spellCheckTarget )
Imports Infragistics.Win.UltraWinSpellChecker Private Sub btSpellCheckModally_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btSpellCheckModally.Click 'Show the spell check dialog for the rich text box modally Me.ultraSpellChecker1.ShowSpellCheckDialog(Me.richTextBox1) End Sub
using System.Windows.Forms; using Infragistics.Win.UltraWinSpellChecker; private void btSpellCheckModally_Click(object sender, EventArgs e) { //Show the spell check dialog for the rich text box modally this.ultraSpellChecker1.ShowSpellCheckDialog( this.richTextBox1 ); }