From a1b14f2ef82d00e8c0e53fae50ece4ea9cdcdb2c Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 13 Dec 2013 12:18:35 +0100 Subject: [PATCH] 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... --- src/LibCecTray/ui/CECTray.cs | 56 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) 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; + } } -- 2.34.1