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

Annotation of /trunk/NexusPowerControl/ThemeConstants.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21 - (hide annotations) (download)
Tue Oct 25 07:13:09 2011 UTC (8 years ago) by william
File size: 1620 byte(s)
*** Fully implement default theme and AeroLowRes theme buttons

1 william 21 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5     using System.Drawing;
6     using System.Windows.Forms;
7     namespace NexusPowerControl
8     {
9     public class ThemeConstants
10     {
11     public class Resources
12     {
13     public static Image MissingImage { get { return NexusPowerControl.Properties.Resources.missing; } }
14     public class DefaultThemeImages
15     {
16     public static Image MainImage { get { return NexusPowerControl.Properties.Resources.main; } }
17     public static Image ShutdownImage { get { return NexusPowerControl.Properties.Resources.shutdown; } }
18     public static Image RestartImage { get { return NexusPowerControl.Properties.Resources.restart; } }
19     public static Image LogoffImage { get { return NexusPowerControl.Properties.Resources.logoff; } }
20     public static Image LockScreenImage { get { return NexusPowerControl.Properties.Resources.lockscreen; } }
21     public static Image SleepImage { get { return NexusPowerControl.Properties.Resources.sleep; } }
22     public static Image CloseImage { get { return NexusPowerControl.Properties.Resources.close; } }
23     }
24     }
25    
26     public static string ThemeDirectory { get { return string.Format("{0}{1}", Application.StartupPath, @"\theme"); } }
27     public static string ThemeFile { get { return "theme.xml"; } }
28     public static string AvailableThemesFile { get { return string.Format("{0}{1}", ThemeConstants.ThemeDirectory, @"\themes.xml"); } }
29     }
30     }

  ViewVC Help
Powered by ViewVC 1.1.22