'宣言 Public Property SpellCheckerForActivityDescription As Infragistics.Win.UltraWinSpellChecker.IUltraSpellChecker
public Infragistics.Win.UltraWinSpellChecker.IUltraSpellChecker SpellCheckerForActivityDescription {get; set;}
Imports Infragistics.Win.UltraWinSpellChecker Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Set the spell checker for the activity description field in the appointment dialog Me.UltraCalendarInfo1.SpellCheckerForActivityDescription = Me.UltraSpellChecker1 'Set the spell checker for the activity subject field in the appointment dialog Me.UltraCalendarInfo1.SpellCheckerForAppointmentSubject = Me.UltraSpellChecker1 'Set the calendar info for the week view Me.UltraWeekView1.CalendarInfo = Me.UltraCalendarInfo1 End Sub
using System.Windows.Forms; using Infragistics.Win.UltraWinSpellChecker; private void Form1_Load(object sender, System.EventArgs e) { //Set the spell checker for the activity description field in the appointment dialog this.ultraCalendarInfo1.SpellCheckerForActivityDescription = this.ultraSpellChecker1; //Set the spell checker for the activity subject field in the appointment dialog this.ultraCalendarInfo1.SpellCheckerForAppointmentSubject = this.ultraSpellChecker1; //Set the calendar info for the week view this.ultraWeekView1.CalendarInfo = this.ultraCalendarInfo1; }