/[NexusPowerControl]/trunk/NexusPowerControl/Form1.cs
ViewVC logotype

Annotation of /trunk/NexusPowerControl/Form1.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (hide annotations) (download)
Sat Oct 22 08:58:41 2011 UTC (8 years, 1 month ago) by william
File size: 720 byte(s)
** initial support for themes (better put this in now, rather than having to do a major re-write later)

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     }

  ViewVC Help
Powered by ViewVC 1.1.22