source: trunk/Include/Classes/System/Media/SystemSounds.ab@ 332

Last change on this file since 332 was 286, checked in by NoWest, 17 years ago

一時変数をreturnせず直接Newの結果をreturnする方法に変更

File size: 668 bytes
Line 
1Class SystemSounds
2Public
3 Static Function Asterisk() As SystemSound
4 Return New SystemSound(SND_ALIAS_SYSTEMASTERISK)
5 End Function
6 Static Function Beep() As SystemSound
7 Return New SystemSound(SND_ALIAS_SYSTEMDEFAULT)
8 End Function
9 Static Function Exclamation() As SystemSound
10 Return New SystemSound(SND_ALIAS_SYSTEMEXCLAMATION)
11 End Function
12 Static Function Hand() As SystemSound
13 Return New SystemSound(SND_ALIAS_SYSTEMHAND)
14 End Function
15 Static Function Question() As SystemSound
16 Return New SystemSound(SND_ALIAS_SYSTEMQUESTION)
17 End Function
18
19 Override Function ToString() As String
20 Return "SystemSounds"
21 End Function
22End Class
Note: See TracBrowser for help on using the repository browser.