'宣言 Public Sub ResumeNotificationProcessing( _ ByVal dirtyAllFormulas As Boolean _ )
public void ResumeNotificationProcessing( bool dirtyAllFormulas )
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Imports Infragistics.Win.CalcEngine Imports Infragistics.Win.UltraWinCalcManager Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click Me.ultraCalcManager1.SuspendNotificationProcessing() Dim i As Integer For i = 0 To Me.ultraGrid1.Rows.Count - 1 Me.ultraGrid1.Rows(i).Cells(1).Value = i Next Me.ultraCalcManager1.ResumeNotificationProcessing(True) End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; using Infragistics.Win.CalcEngine; using Infragistics.Win.UltraWinCalcManager; private void button1_Click(object sender, System.EventArgs e) { this.ultraCalcManager1.SuspendNotificationProcessing( ); for ( int i = 0; i < this.ultraGrid1.Rows.Count; i++ ) { this.ultraGrid1.Rows[i].Cells[1].Value = i; } this.ultraCalcManager1.ResumeNotificationProcessing( true ); }