'Declaration Public Enum SystemSoundType Inherits System.Enum
'Usage Dim instance As SystemSoundType
public enum SystemSoundType : System.Enum
'Declaration Public Enum SystemSoundType Inherits System.Enum
'Usage Dim instance As SystemSoundType
public enum SystemSoundType : System.Enum
Member | Description |
---|---|
Asterisk | Specifies the System.Media.SystemSounds.Asterisk sound. |
Beep | Specifies the System.Media.SystemSounds.Beep sound. |
Exclamation | Specifies the System.Media.SystemSounds.Exclamation sound. |
Hand | Specifies the System.Media.SystemSounds.Hand sound. |
Question | Specifies the System.Media.SystemSounds.Question sound. |
//Type a value in cell 1,1 FarPoint.Win.Spread.SoundNotify sound = new FarPoint.Win.Spread.SoundNotify(); sound.SoundType = FarPoint.Win.Spread.SystemSoundType.Exclamation; FarPoint.Win.Spread.CompareStringValidator svalid = new FarPoint.Win.Spread.CompareStringValidator(); svalid.ComparedOperator = FarPoint.Win.Spread.CompareStringValidatorOperator.Contains; svalid.ComparedString = "Test"; svalid.Actions.Add(sound); fpSpread1.Sheets[0].AddValidators(new FarPoint.Win.Spread.Model.CellRange(1, 1, 1, 1), svalid);
'Type a value in cell 1,1 Dim sound As New FarPoint.Win.Spread.SoundNotify() sound.SoundType = FarPoint.Win.Spread.SystemSoundType.Exclamation Dim svalid As New FarPoint.Win.Spread.CompareStringValidator() svalid.ComparedOperator = FarPoint.Win.Spread.CompareStringValidatorOperator.Contains svalid.ComparedString = "Test" svalid.Actions.Add(sound) FpSpread1.Sheets(0).AddValidators(New FarPoint.Win.Spread.Model.CellRange(1, 1, 1, 1), svalid)
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.SystemSoundType