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