diff options
| author | AShifter <[email protected]> | 2017-03-26 09:04:48 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-26 09:04:48 -0600 |
| commit | 4c5aed35a6474555793e716ef89b088ce5b5d804 (patch) | |
| tree | 5691328e5d8c59f661fff63634aafa69b622aa6a /TimeHACK.Main/Windows95.cs | |
| parent | 263e1e6d0a38c4e75a7316894399efe90e6aedb3 (diff) | |
| parent | b29562151521fcceeeb394fdff7842bcc34bfa27 (diff) | |
| download | histacom2-4c5aed35a6474555793e716ef89b088ce5b5d804.tar.gz histacom2-4c5aed35a6474555793e716ef89b088ce5b5d804.tar.bz2 histacom2-4c5aed35a6474555793e716ef89b088ce5b5d804.zip | |
Merge pull request #5 from lempamo/master
fix ie
Diffstat (limited to 'TimeHACK.Main/Windows95.cs')
| -rw-r--r-- | TimeHACK.Main/Windows95.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/TimeHACK.Main/Windows95.cs b/TimeHACK.Main/Windows95.cs index 0ce5176..d262985 100644 --- a/TimeHACK.Main/Windows95.cs +++ b/TimeHACK.Main/Windows95.cs @@ -137,6 +137,27 @@ namespace TimeHACK ie.BringToFront(); startmenu.Hide(); } + + private void desktopicons_Click(object sender, EventArgs e) + { + Point objDrawingPoint = desktopicons.PointToClient(Cursor.Position); + ListViewItem objListViewItem; + + if (objDrawingPoint != null) + { + objListViewItem = desktopicons.GetItemAt(objDrawingPoint.X, objDrawingPoint.Y); + if (objListViewItem != null) + { + if (objListViewItem.Text == "Internet Explorer") + { + WinClassicIE4 ie = new WinClassicIE4(); + ie.Show(); + ie.BringToFront(); + startmenu.Hide(); + } + } + } + } } } |
