C
C#15mo ago
Toast12

How to create a button that makes a sound when pressed in C#

How to create a button that makes a sound when pressed in C#
2 Replies
Toast12
Toast12OP15mo ago
I want to play a sound in a certain path other than a beep sound.
Doombox
Doombox15mo ago
it depends which framework you are using and what file type you want to play you can use SoundPlayer to play .wav files WPF has MediaPlayer

Did you find this page helpful?