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 |
|
|
} |