GrapeCity.Win.MultiRow.v80 アセンブリ > GrapeCity.Win.MultiRow 名前空間 : ValidateActionContext クラス |
Public Class ValidateActionContext Inherits ValidateContext
public class ValidateActionContext : ValidateContext
class MyIconNotifyAction : IconNotify { protected override void DoAction(ValidateActionContext context) { base.DoAction(context); //When the error icon pop up, one system sound will play at the same time. if (!context.IsValid) { System.Media.SystemSounds.Asterisk.Play(); } } }
Private Class MyIconNotifyAction Inherits IconNotify Protected Overloads Overrides Sub DoAction(ByVal context As ValidateActionContext) MyBase.DoAction(context) 'When the error icon pop up, one system sound will play at the same time. If Not context.IsValid Then System.Media.SystemSounds.Asterisk.Play() End If End Sub End Class
System.Object
GrapeCity.Win.MultiRow.ValidateContext
GrapeCity.Win.MultiRow.ValidateActionContext