diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-03-26 15:05:19 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-26 15:05:19 +0100 |
| commit | 263e1e6d0a38c4e75a7316894399efe90e6aedb3 (patch) | |
| tree | 0b786a881331f3a31c0db4a4529c2936e7b9b950 /TimeHACK.Main/Windows95.cs | |
| parent | ee1a2b8e607a413c8990d75ba2ff0e1c8ad78465 (diff) | |
| parent | e4d1958e36458ad0b24e0f6fabd3934323d31561 (diff) | |
| download | histacom2-263e1e6d0a38c4e75a7316894399efe90e6aedb3.tar.gz histacom2-263e1e6d0a38c4e75a7316894399efe90e6aedb3.tar.bz2 histacom2-263e1e6d0a38c4e75a7316894399efe90e6aedb3.zip | |
Merge pull request #4 from lempamo/master
ie4 is opening
Diffstat (limited to 'TimeHACK.Main/Windows95.cs')
| -rw-r--r-- | TimeHACK.Main/Windows95.cs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/TimeHACK.Main/Windows95.cs b/TimeHACK.Main/Windows95.cs index 5d266ec..0ce5176 100644 --- a/TimeHACK.Main/Windows95.cs +++ b/TimeHACK.Main/Windows95.cs @@ -38,6 +38,8 @@ namespace TimeHACK // Set the StartMenu seperator startmenuitems.Items.Insert(6, new ToolStripSeparator()); + + this.SendToBack(); } #region StartMenu @@ -57,6 +59,7 @@ namespace TimeHACK private void startbutton_Click(object sender, EventArgs e) { startmenu.Show(); + startmenu.BringToFront(); } // Shutdown button @@ -87,7 +90,7 @@ namespace TimeHACK // Set the Clock private void clockTimer_Tick(object sender, EventArgs e) { - taskbartime.Text = DateTime.Now.ToString("hh:mm tt"); + taskbartime.Text = DateTime.Now.ToString("h:mm tt"); } // On Desktop MouseDown @@ -98,6 +101,7 @@ namespace TimeHACK rightclickbackproperties.Show(); rightclickbackproperties.BringToFront(); rightclickbackproperties.Location = MousePosition; + startmenu.Hide(); } // If @@ -117,12 +121,22 @@ namespace TimeHACK { WinClassicNotepad notepad = new WinClassicNotepad(); notepad.Show(); + notepad.BringToFront(); + startmenu.Hide(); } private void desktopicons_SelectedIndexChanged(object sender, EventArgs e) { } + + private void InternetExplorerToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassicIE4 ie = new WinClassicIE4(); + ie.Show(); + ie.BringToFront(); + startmenu.Hide(); + } } } |
