Last change
on this file since 292 was 286, checked in by NoWest, 18 years ago |
一時変数をreturnせず直接Newの結果をreturnする方法に変更
|
File size:
668 bytes
|
Rev | Line | |
---|
[97] | 1 | Class SystemSounds
|
---|
| 2 | Public
|
---|
[100] | 3 | Static Function Asterisk() As SystemSound
|
---|
[286] | 4 | Return New SystemSound(SND_ALIAS_SYSTEMASTERISK)
|
---|
[97] | 5 | End Function
|
---|
[100] | 6 | Static Function Beep() As SystemSound
|
---|
[286] | 7 | Return New SystemSound(SND_ALIAS_SYSTEMDEFAULT)
|
---|
[97] | 8 | End Function
|
---|
[100] | 9 | Static Function Exclamation() As SystemSound
|
---|
[286] | 10 | Return New SystemSound(SND_ALIAS_SYSTEMEXCLAMATION)
|
---|
[97] | 11 | End Function
|
---|
[100] | 12 | Static Function Hand() As SystemSound
|
---|
[286] | 13 | Return New SystemSound(SND_ALIAS_SYSTEMHAND)
|
---|
[97] | 14 | End Function
|
---|
[100] | 15 | Static Function Question() As SystemSound
|
---|
[286] | 16 | Return New SystemSound(SND_ALIAS_SYSTEMQUESTION)
|
---|
[97] | 17 | End Function
|
---|
[116] | 18 |
|
---|
| 19 | Override Function ToString() As String
|
---|
| 20 | Return "SystemSounds"
|
---|
| 21 | End Function
|
---|
[97] | 22 | End Class
|
---|
Note:
See
TracBrowser
for help on using the repository browser.