Histacom2/Histacom2.Engine/Template/Win9XBSOD.cs
2017-08-23 13:38:40 -04:00

38 lines
916 B
C#

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)
{
}
}
}