WinForms › Alert Popup › AboutToPlaySoundHandler
AboutToPlaySoundHandler
delegate.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.NotificationControls
Provides the method signature for handling the event AboutToPlaySound.
public delegate void AboutToPlaySoundHandler(Object sender, ref bool cancelNow);
Remarks
If you intend to cancel playing the sound, set the cancelNow parameter to true.