SoundPlayerControl 0.9.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package SoundPlayerControl --version 0.9.0.3                
NuGet\Install-Package SoundPlayerControl -Version 0.9.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SoundPlayerControl" Version="0.9.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SoundPlayerControl --version 0.9.0.3                
#r "nuget: SoundPlayerControl, 0.9.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SoundPlayerControl as a Cake Addin
#addin nuget:?package=SoundPlayerControl&version=0.9.0.3

// Install SoundPlayerControl as a Cake Tool
#tool nuget:?package=SoundPlayerControl&version=0.9.0.3                

This control can be used by dragging and dropping it onto a form, or programattically.
Uses Dot NET 4.8 (Check the test code for more examples)

Very simple example:

SoundPlayer sp; sp = new SoundPlayer(@"C:\Windows\Media\Alarm01.wav", 95); sp.PlaybackStopped += WaveOutput_PlaybackStopped; sp.PlaySound();

...

private void WaveOutput_PlaybackStopped(object sender, NAudio.Wave.StoppedEventArgs e) { MessageBox.Show("Programmatic sound has finished playing"); sp.Dispose(); }

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.9.0.6 1,769 8/11/2019
0.9.0.5 517 8/2/2019
0.9.0.4 514 7/28/2019
0.9.0.3 487 7/28/2019
0.9.0.2 488 7/27/2019
0.9.0.1 485 7/27/2019
0.9.0 504 7/27/2019

Added proper enabled/disabled display change (make it clear to users)