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

Annotation of /trunk/NexusPowerControl/ThemeConstants.cs

Parent Directory Parent Directory | Revision Log Revision Log


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

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 william 24 public static string ApplicationPath { get { return Application.StartupPath; } }
26     public static string ThemeDirectory { get { return string.Format("{0}{1}", ThemeConstants.ApplicationPath, @"\theme"); } }
27 william 21 public static string ThemeFile { get { return "theme.xml"; } }
28     public static string AvailableThemesFile { get { return string.Format("{0}{1}", ThemeConstants.ThemeDirectory, @"\themes.xml"); } }
29 william 24
30     public static string PowerCommandApplication { get { return string.Format("{0}{1}", ThemeConstants.ApplicationPath, @"\NexusPowerCommand.exe"); } }
31 william 21 }
32     }

  ViewVC Help
Powered by ViewVC 1.1.22