mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-07 23:43:19 +02:00
Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14) * Breadcrumb / TOC / Move net5 to net folder (#15) * change path from net5 to net * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Add .net 5 winforms placeholder article (#16) * added some metadata and adjusted net5 placeholder * corrections * corrections * corrections * Test1 * Swapping landing page vs concept * fix links * Fix links * Fix desc
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
---
|
||||
title: "SoundPlayer Class"
|
||||
ms.date: "03/30/2017"
|
||||
f1_keywords:
|
||||
- "SoundPlayer"
|
||||
helpviewer_keywords:
|
||||
- "sounds [Windows Forms], playing"
|
||||
ms.assetid: f3945af9-045c-4e2d-b251-377c37ca2d77
|
||||
---
|
||||
# SoundPlayer Class
|
||||
The `SoundPlayer` class enables you to easily include sounds in your applications.
|
||||
|
||||
You can also use the <xref:System.Media.SystemSounds> class to play common system sounds, including a beep.
|
||||
|
||||
## In This Section
|
||||
[SoundPlayer Class Overview](soundplayer-class-overview.md)
|
||||
Introduces the class and its commonly used properties, methods, and events.
|
||||
|
||||
[How to: Play a Sound from a Windows Form](how-to-play-a-sound-from-a-windows-form.md)
|
||||
Provides code to play a sound specified via a file path, UNC path, or HTTP path.
|
||||
|
||||
[How to: Play a Beep from a Windows Form](how-to-play-a-beep-from-a-windows-form.md)
|
||||
Provides code to play the computer's beep sound.
|
||||
|
||||
[How to: Play a Sound Embedded in a Resource from a Windows Form](how-to-play-a-sound-embedded-in-a-resource-from-a-windows-form.md)
|
||||
Provides code to play a sound from a resource.
|
||||
|
||||
[How to: Play a System Sound from a Windows Form](how-to-play-a-system-sound-from-a-windows-form.md)
|
||||
Provides code to play the one of the system sounds.
|
||||
|
||||
[How to: Load a Sound Asynchronously within a Windows Form](how-to-load-a-sound-asynchronously-within-a-windows-form.md)
|
||||
Provides code to load a sound asynchronously from a URL and play it.
|
||||
|
||||
[How to: Loop a Sound Playing on a Windows Form](how-to-loop-a-sound-playing-on-a-windows-form.md)
|
||||
Provides code that plays a sound repeatedly.
|
||||
|
||||
## Reference
|
||||
<xref:System.Media.SoundPlayer>
|
||||
Describes this class and has links to all its members.
|
||||
|
||||
## Related Sections
|
||||
[Windows Forms Controls](index.md)
|
||||
Provides links to topics about the controls designed specifically to work with Windows Forms.
|
||||
|
||||
[Controls to Use on Windows Forms](controls-to-use-on-windows-forms.md)
|
||||
Provides a complete list of Windows Forms controls, with links to information on their use.
|
||||
|
||||
## See also
|
||||
|
||||
- [My.Computer Object](https://docs.microsoft.com/dotnet/visual-basic/language-reference/objects/my-computer-object)
|
||||
Reference in New Issue
Block a user