aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-02 03:09:14 +0000
committerGitHub <[email protected]>2017-07-02 03:09:14 +0000
commitb8f49e9a20a43a72fe6895741f5fe7207151eb95 (patch)
treee533069e097f4da27a73ef5409f44af4b07a92a0 /TimeHACK.Main/OS/Win95/Win95.cs
parent19ca07404ca7decbec3215b5522554a4f7077879 (diff)
parent82af186d5140e878f6b49bc101112550d36bc78a (diff)
downloadhistacom2-b8f49e9a20a43a72fe6895741f5fe7207151eb95.tar.gz
histacom2-b8f49e9a20a43a72fe6895741f5fe7207151eb95.tar.bz2
histacom2-b8f49e9a20a43a72fe6895741f5fe7207151eb95.zip
Merge pull request #104 from lempamo/master
paintbrush
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs13
1 files changed, 1 insertions, 12 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index bd706cb..a991a00 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -16,7 +16,6 @@ namespace TimeHACK.OS.Win95
public partial class Windows95 : Form
{
private SoundPlayer startsound;
- private SoundPlayer stopsound;
public WindowManager wm = new WindowManager();
public List<WinClassic> nonimportantapps = new List<WinClassic>();
@@ -88,22 +87,12 @@ namespace TimeHACK.OS.Win95
#region StartMenu
- // Paint StartMenu
- private void startmenu_Paint(object sender, PaintEventArgs e)
- {
- // Paint the StartMenu
- ControlPaint.DrawBorder(e.Graphics, startmenu.ClientRectangle,
- SystemColors.ControlLightLight, 2, ButtonBorderStyle.Outset,
- SystemColors.ControlLightLight, 2, ButtonBorderStyle.Outset,
- SystemColors.ControlLightLight, 2, ButtonBorderStyle.Outset,
- SystemColors.ControlLightLight, 2, ButtonBorderStyle.Outset);
- }
-
// StartButton Click
private void startbutton_Click(object sender, EventArgs e)
{
startmenu.Show();
startmenu.BringToFront();
+ if (taskbar.Visible) taskbar.BringToFront();
}
// Shutdown button