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

Diff of /trunk/NexusPowerControl/MainUI.cs

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

--- trunk/NexusPowerControl/MainUI.cs	2011/10/25 06:51:49	20
+++ trunk/NexusPowerControl/MainUI.cs	2011/10/25 07:13:09	21
@@ -34,6 +34,16 @@
                 btnSleep.Image = Image.FromFile(theme.SleepImage);
                 btnClose.Image = Image.FromFile(theme.CloseImage);
             }
+            else
+            {
+                pic_main.Image = ThemeConstants.Resources.DefaultThemeImages.MainImage;
+                btnShutdown.Image = ThemeConstants.Resources.DefaultThemeImages.ShutdownImage;
+                btnRestart.Image = ThemeConstants.Resources.DefaultThemeImages.RestartImage;
+                btnLogoff.Image = ThemeConstants.Resources.DefaultThemeImages.LogoffImage;
+                btnLockScreen.Image = ThemeConstants.Resources.DefaultThemeImages.LockScreenImage;
+                btnSleep.Image = ThemeConstants.Resources.DefaultThemeImages.SleepImage;
+                btnClose.Image = ThemeConstants.Resources.DefaultThemeImages.CloseImage;
+            }
 
 
             btnShutdown.OnClickEvent += new EventHandler(btnShutdown_Click);

 

  ViewVC Help
Powered by ViewVC 1.1.22