C
C#15mo ago
ㅌㅅㅌ12

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
ㅌㅅㅌ12
ㅌㅅㅌ12OP15mo 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?