Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/soundplayer-class.md
T
Andy De George c0ba284473 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
2020-09-01 16:26:21 -07:00

2.1 KiB

title, ms.date, f1_keywords, helpviewer_keywords, ms.assetid
title ms.date f1_keywords helpviewer_keywords ms.assetid
SoundPlayer Class 03/30/2017
SoundPlayer
sounds [Windows Forms], playing
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
Introduces the class and its commonly used properties, methods, and events.

How to: Play a Sound from a Windows Form
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
Provides code to play the computer's beep sound.

How to: Play a Sound Embedded in a Resource from a Windows Form
Provides code to play a sound from a resource.

How to: Play a System Sound from a Windows Form
Provides code to play the one of the system sounds.

How to: Load a Sound Asynchronously within a Windows Form
Provides code to load a sound asynchronously from a URL and play it.

How to: Loop a Sound Playing on a Windows Form
Provides code that plays a sound repeatedly.

Reference

xref:System.Media.SoundPlayer
Describes this class and has links to all its members.

Windows Forms Controls
Provides links to topics about the controls designed specifically to work with Windows Forms.

Controls to Use on Windows Forms
Provides a complete list of Windows Forms controls, with links to information on their use.

See also