diff options
Diffstat (limited to 'Histacom2.Engine/Template/Win9XBSOD.cs')
| -rw-r--r-- | Histacom2.Engine/Template/Win9XBSOD.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Histacom2.Engine/Template/Win9XBSOD.cs b/Histacom2.Engine/Template/Win9XBSOD.cs new file mode 100644 index 0000000..dd3d2ca --- /dev/null +++ b/Histacom2.Engine/Template/Win9XBSOD.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Histacom2.Engine.Template +{ + public partial class Win9XBSOD : Form + { + public bool reset = false; + + public Win9XBSOD() + { + InitializeComponent(); + this.panel1.Location = new Point(this.ClientSize.Width / 2 - 475, this.ClientSize.Height / 2 - 141); + } + + private void Win9XBSOD_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Escape) Environment.Exit(0); + else + { + reset = true; + this.Close(); + } + } + + private void Win9XBSOD_FormClosed(object sender, FormClosedEventArgs e) + { + + } + } +} |
