aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-01 22:49:31 -0400
committerlempamo <[email protected]>2017-07-01 22:49:31 -0400
commitc75aea5a35405b81de4f9ee679ed415cdc0fdeef (patch)
tree90ffcb9f3504e59ed1aeaf58d0f87ed7a5e103ee /TimeHACK.Main/OS/Win95/Win95.cs
parent311d896ca59155f4a1cd80921cd76c548937367a (diff)
downloadhistacom2-c75aea5a35405b81de4f9ee679ed415cdc0fdeef.tar.gz
histacom2-c75aea5a35405b81de4f9ee679ed415cdc0fdeef.tar.bz2
histacom2-c75aea5a35405b81de4f9ee679ed415cdc0fdeef.zip
a few improved things
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