12 Tem

C# Play Default Windows Sounds

This example shows how to play the default windows sounds.

Usage:

            //To play the classical beep sound, you can use the following code:
            System.Media.SystemSounds.Beep.Play();

            //Similarly, you can play the “Question” sound with this code:
            System.Media.SystemSounds.Question.Play();

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir


− dört = 5