Is there a way to make a beep in C # WPF?
I was looking for a WPF beep, but all I could find was beeping in the usual form of Windows.
You can make a sound using:
SystemSounds.Beep.Play();
// Plays the sound associated with the Beep system event. SystemSounds.Beep.Play();
This works in WPF ( http://msdn.microsoft.com/en-us/library/system.media.systemsounds.beep(v = vs 0.110) .aspx )
You can play any thing:
SoundPlayer snd = new SoundPlayer(filePath); snd.Play();
Source: https://habr.com/ru/post/1545599/More articles:GLSL Shinder: Interpolate between more than two textures - javaAre there any interesting commutative monads in Haskell? - haskellPandas Series - print columns and rows - python-2.7Log4J создает файл журнала, но не пишет ему - javaCheck if the div scrolls to the bottom, leave it alone, if not - javascriptMATLAB - Force quit (CTRL + C) not working? - matlabcannot access native directory in docker created by ADD / chown / chmod in Dockerfile - dockerКак сделать Android многопользовательские игры с помощью друзей Facebook? (Google Play Game Services использует только G +) - androidInclude custom source folder for inclusion in maven testing phase - mavenIBOutlet properties from Swift structure missing in Objective-C application - iosAll Articles