From a3fc2c45ec2a62684e128ffd7cab88bd101ad917 Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Tue, 17 May 2016 15:37:02 -0400 Subject: Committing all I've got Committing everything I've got - so that I can take a break for a few months and work on other things. --- source/WindowsFormsApplication1/infobox.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/WindowsFormsApplication1/infobox.cs') diff --git a/source/WindowsFormsApplication1/infobox.cs b/source/WindowsFormsApplication1/infobox.cs index 385de23..2f706d2 100644 --- a/source/WindowsFormsApplication1/infobox.cs +++ b/source/WindowsFormsApplication1/infobox.cs @@ -102,7 +102,10 @@ namespace ShiftOS btnok_Click(s, (EventArgs)a); } }; - API.PlaySound(Properties.Resources.infobox); + if (API.InfoboxesPlaySounds) + { + API.PlaySound(Properties.Resources.infobox); + } } -- cgit v1.2.3