ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/NexusPowerControl/trunk/NexusPowerControl/Form1.cs
(Generate patch)

Comparing trunk/NexusPowerControl/Form1.cs (file contents):
Revision 4 by william, Fri Oct 21 21:50:13 2011 UTC vs.
Revision 8 by william, Sat Oct 22 08:58:41 2011 UTC

--- trunk/NexusPowerControl/Form1.cs	2011/10/21 21:50:13	4
+++ trunk/NexusPowerControl/Form1.cs	2011/10/22 08:58:41	8
@@ -15,5 +15,13 @@ namespace NexusPowerControl
         {
             InitializeComponent();
         }
+
+        private void Form1_Load(object sender, EventArgs e)
+        {
+            // load theme
+            ThemeLoader loader = new ThemeLoader();           
+            loader.LoadThemeOrDefault(NexusPowerControl.Properties.Settings.Default.ActiveThemeName);
+            ThemeLoader.ThemeDefinition theme = loader.GetLoadedTheme();
+        }
     }
 }