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

Diff of /trunk/NexusPowerControl/ThemeConstants.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 21 by william, Tue Oct 25 07:13:09 2011 UTC revision 24 by william, Tue Oct 25 07:46:52 2011 UTC
# Line 22  namespace NexusPowerControl Line 22  namespace NexusPowerControl
22                  public static Image CloseImage { get { return NexusPowerControl.Properties.Resources.close; } }                  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}", Application.StartupPath, @"\theme"); } }          public static string ThemeDirectory { get { return string.Format("{0}{1}", ThemeConstants.ApplicationPath, @"\theme"); } }
27          public static string ThemeFile { get { return "theme.xml"; } }          public static string ThemeFile { get { return "theme.xml"; } }
28          public static string AvailableThemesFile { get { return string.Format("{0}{1}", ThemeConstants.ThemeDirectory, @"\themes.xml"); } }          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  }  }

Legend:
Removed from v.21  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.22