aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/infobox.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-05-17 15:37:02 -0400
committerMichaelTheShifter <[email protected]>2016-05-17 15:37:02 -0400
commita3fc2c45ec2a62684e128ffd7cab88bd101ad917 (patch)
tree1dc63efaa4597a28fd901047a714f38954dafa5e /source/WindowsFormsApplication1/infobox.cs
parent0085241d2366f266b5416488dbead174184420b0 (diff)
downloadshiftos-c-_theultimatehacker-a3fc2c45ec2a62684e128ffd7cab88bd101ad917.tar.gz
shiftos-c-_theultimatehacker-a3fc2c45ec2a62684e128ffd7cab88bd101ad917.tar.bz2
shiftos-c-_theultimatehacker-a3fc2c45ec2a62684e128ffd7cab88bd101ad917.zip
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.
Diffstat (limited to 'source/WindowsFormsApplication1/infobox.cs')
-rw-r--r--source/WindowsFormsApplication1/infobox.cs5
1 files changed, 4 insertions, 1 deletions
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);
+ }
}