ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/NexusPowerControl/trunk/NexusPowerControl/Form1.cs
Revision: 8
Committed: Sat Oct 22 08:58:41 2011 UTC (12 years, 1 month ago) by william
File size: 720 byte(s)
Log Message:
** initial support for themes (better put this in now, rather than having to do a major re-write later)

File Contents

# User Rev Content
1 william 4 using System;
2     using System.Collections.Generic;
3     using System.ComponentModel;
4     using System.Data;
5     using System.Drawing;
6     using System.Linq;
7     using System.Text;
8     using System.Windows.Forms;
9    
10     namespace NexusPowerControl
11     {
12     public partial class Form1 : Form
13     {
14     public Form1()
15     {
16     InitializeComponent();
17     }
18 william 8
19     private void Form1_Load(object sender, EventArgs e)
20     {
21     // load theme
22     ThemeLoader loader = new ThemeLoader();
23     loader.LoadThemeOrDefault(NexusPowerControl.Properties.Settings.Default.ActiveThemeName);
24     ThemeLoader.ThemeDefinition theme = loader.GetLoadedTheme();
25     }
26 william 4 }
27     }