aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/WinformsDesktop.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-25 20:54:43 -0500
committerMichael <[email protected]>2017-02-25 20:54:43 -0500
commitfed3801060be44b4a2ebad7c9d12605fb6954a13 (patch)
tree48c9200ddbf62ac8b916896eab0bad8d35cc2f24 /ShiftOS.WinForms/WinformsDesktop.cs
parent0b3873bb9413d91fee3484c9dc2aea9729e61500 (diff)
downloadshiftos_thereturn-fed3801060be44b4a2ebad7c9d12605fb6954a13.tar.gz
shiftos_thereturn-fed3801060be44b4a2ebad7c9d12605fb6954a13.tar.bz2
shiftos_thereturn-fed3801060be44b4a2ebad7c9d12605fb6954a13.zip
Add about box and fix desktop panel transparency bug
Diffstat (limited to 'ShiftOS.WinForms/WinformsDesktop.cs')
-rw-r--r--ShiftOS.WinForms/WinformsDesktop.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs
index ac5198a..45730c4 100644
--- a/ShiftOS.WinForms/WinformsDesktop.cs
+++ b/ShiftOS.WinForms/WinformsDesktop.cs
@@ -275,7 +275,11 @@ namespace ShiftOS.WinForms
}));
this.BackgroundImageLayout = GetImageLayout("desktopbackground");
desktoppanel.BackgroundImage = ((Bitmap)GetImage("desktoppanel"));
- if (desktoppanel.BackgroundImage != null) ((Bitmap)desktoppanel.BackgroundImage).MakeTransparent(Color.FromArgb(1, 0, 1));
+ if (desktoppanel.BackgroundImage != null)
+ {
+ ((Bitmap)desktoppanel.BackgroundImage).MakeTransparent(Color.FromArgb(1, 0, 1));
+ desktoppanel.BackColor = Color.Transparent;
+ }
menuStrip1.BackgroundImage = GetImage("applauncher");
if (menuStrip1.BackgroundImage != null) ((Bitmap)menuStrip1.BackgroundImage).MakeTransparent(Color.FromArgb(1, 0, 1));
lbtime.ForeColor = LoadedSkin.DesktopPanelClockColor;