From 51050a02d4d5eff361cfa697eeba777ddafa085a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 15 Apr 2017 14:39:24 -0400 Subject: Use NAudio to handle system sounds --- ShiftOS.WinForms/Applications/Shifter.Designer.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ShiftOS.WinForms/Applications/Shifter.Designer.cs') diff --git a/ShiftOS.WinForms/Applications/Shifter.Designer.cs b/ShiftOS.WinForms/Applications/Shifter.Designer.cs index 593f43d..7ef20bf 100644 --- a/ShiftOS.WinForms/Applications/Shifter.Designer.cs +++ b/ShiftOS.WinForms/Applications/Shifter.Designer.cs @@ -37,11 +37,15 @@ namespace ShiftOS.WinForms.Applications /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { - if (disposing && (components != null)) + try { - components.Dispose(); + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); } - base.Dispose(disposing); + catch { } } #region Windows Form Designer generated code -- cgit v1.2.3