aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/Template/Win9XBSOD.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-04-13 14:04:41 -0400
committerlempamo <[email protected]>2017-04-13 14:04:41 -0400
commit036a986ce1f56e6cda0617e6e574a875b847911b (patch)
treeee047052f0dae8b05059630cda9ce067469a871c /TimeHACK.Engine/Template/Win9XBSOD.cs
parentf1e0c8f75de4a5086ff955789e9397696df25199 (diff)
downloadhistacom2-036a986ce1f56e6cda0617e6e574a875b847911b.tar.gz
histacom2-036a986ce1f56e6cda0617e6e574a875b847911b.tar.bz2
histacom2-036a986ce1f56e6cda0617e6e574a875b847911b.zip
WebChat1998 crash works!
Diffstat (limited to 'TimeHACK.Engine/Template/Win9XBSOD.cs')
-rw-r--r--TimeHACK.Engine/Template/Win9XBSOD.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/TimeHACK.Engine/Template/Win9XBSOD.cs b/TimeHACK.Engine/Template/Win9XBSOD.cs
index b98fa6a..662812b 100644
--- a/TimeHACK.Engine/Template/Win9XBSOD.cs
+++ b/TimeHACK.Engine/Template/Win9XBSOD.cs
@@ -12,9 +12,21 @@ namespace TimeHACK.Engine.Template
{
public partial class Win9XBSOD : Form
{
+ public bool reset = false;
+
public Win9XBSOD()
{
InitializeComponent();
}
+
+ private void Win9XBSOD_KeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.KeyCode == Keys.Escape) Environment.Exit(0);
+ else
+ {
+ reset = true;
+ this.Close();
+ }
+ }
}
}