aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/Template/Win9XBSOD.cs
blob: acf5e0788958b1aef37abfdd2a0f13e8eb9f6f94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 TimeHACK.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)
        {
            
        }
    }
}