mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
38 lines
916 B
C#
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)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|