From: Lars Op den Kamp Date: Fri, 13 Dec 2013 11:18:35 +0000 (+0100) Subject: moved class declarations other than the main form below the main form's declaration... X-Git-Tag: upstream/2.2.0~1^2~3^2~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a1b14f2ef82d00e8c0e53fae50ece4ea9cdcdb2c;p=deb_libcec.git moved class declarations other than the main form below the main form's declaration, or the app may crash with a MissingManifestResourceException. this bug in vs is present since .net 2003... --- diff --git a/src/LibCecTray/ui/CECTray.cs b/src/LibCecTray/ui/CECTray.cs index 021eaa3..740033b 100644 --- a/src/LibCecTray/ui/CECTray.cs +++ b/src/LibCecTray/ui/CECTray.cs @@ -45,34 +45,6 @@ using System.Threading; namespace LibCECTray.ui { - /// - /// The tab pages in this application - /// - internal enum ConfigTab - { - Configuration, - KeyConfiguration, - Tester, - Log, - WMC, - XBMC - } - - class AsyncDisconnect - { - public AsyncDisconnect(CECController controller) - { - _controller = controller; - } - - public void Process() - { - _controller.Close(); - } - - private CECController _controller; - } - /// /// Main LibCecTray GUI /// @@ -611,4 +583,32 @@ namespace LibCECTray.ui Controller.DisplayDialog(appConfig, false); } } + + /// + /// The tab pages in this application + /// + internal enum ConfigTab + { + Configuration, + KeyConfiguration, + Tester, + Log, + WMC, + XBMC + } + + class AsyncDisconnect + { + public AsyncDisconnect(CECController controller) + { + _controller = controller; + } + + public void Process() + { + _controller.Close(); + } + + private CECController _controller; + } }