moved class declarations other than the main form below the main form's declaration...
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 13 Dec 2013 11:18:35 +0000 (12:18 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 13 Dec 2013 11:18:35 +0000 (12:18 +0100)
src/LibCecTray/ui/CECTray.cs

index 021eaa38e55d5d18c2bd89cdabc6036bc8ef6e90..740033b386539f65670bf317872fbe0116c04fa1 100644 (file)
@@ -45,34 +45,6 @@ using System.Threading;
 
 namespace LibCECTray.ui
 {
-  /// <summary>
-  /// The tab pages in this application
-  /// </summary>
-  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;
-  }
-
   /// <summary>
   /// Main LibCecTray GUI
   /// </summary>
@@ -611,4 +583,32 @@ namespace LibCECTray.ui
       Controller.DisplayDialog(appConfig, false);
     }
   }
+
+  /// <summary>
+  /// The tab pages in this application
+  /// </summary>
+  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;
+  }
 }