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

Contents of /trunk/NexusPowerControl/ThemeConstants.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24 - (show annotations) (download)
Tue Oct 25 07:46:52 2011 UTC (8 years, 1 month ago) by william
File size: 1876 byte(s)
*** implement use of NexusPowerCommand in NexusPowerControl

1 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 public static string ApplicationPath { get { return Application.StartupPath; } }
26 public static string ThemeDirectory { get { return string.Format("{0}{1}", ThemeConstants.ApplicationPath, @"\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 public static string PowerCommandApplication { get { return string.Format("{0}{1}", ThemeConstants.ApplicationPath, @"\NexusPowerCommand.exe"); } }
31 }
32 }

  ViewVC Help
Powered by ViewVC 1.1.22