diff options
| author | AShifter <[email protected]> | 2017-04-13 12:43:13 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-04-13 12:43:13 -0700 |
| commit | 69e90dc5e03f73a36c5ed069d9814b5c2900cc90 (patch) | |
| tree | ee047052f0dae8b05059630cda9ce067469a871c /TimeHACK.Engine/Template | |
| parent | 4cc2631a033d2bfb7a7e926f9b17d85862c2eea3 (diff) | |
| parent | 036a986ce1f56e6cda0617e6e574a875b847911b (diff) | |
| download | histacom2-69e90dc5e03f73a36c5ed069d9814b5c2900cc90.tar.gz histacom2-69e90dc5e03f73a36c5ed069d9814b5c2900cc90.tar.bz2 histacom2-69e90dc5e03f73a36c5ed069d9814b5c2900cc90.zip | |
Merge pull request #43 from lempamo/master
WebChat1998 crash works!
Diffstat (limited to 'TimeHACK.Engine/Template')
| -rw-r--r-- | TimeHACK.Engine/Template/Win9XBSOD.Designer.cs | 13 | ||||
| -rw-r--r-- | TimeHACK.Engine/Template/Win9XBSOD.cs | 12 |
2 files changed, 21 insertions, 4 deletions
diff --git a/TimeHACK.Engine/Template/Win9XBSOD.Designer.cs b/TimeHACK.Engine/Template/Win9XBSOD.Designer.cs index 169c81a..69470f0 100644 --- a/TimeHACK.Engine/Template/Win9XBSOD.Designer.cs +++ b/TimeHACK.Engine/Template/Win9XBSOD.Designer.cs @@ -50,11 +50,13 @@ // // textBox1 // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.textBox1.BackColor = System.Drawing.Color.Blue; this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox1.Font = new System.Drawing.Font("Perfect DOS VGA 437", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox1.ForeColor = System.Drawing.Color.White; this.textBox1.Location = new System.Drawing.Point(120, 294); + this.textBox1.MaximumSize = new System.Drawing.Size(950, 81); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; @@ -66,6 +68,7 @@ // // textBox2 // + this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.textBox2.BackColor = System.Drawing.Color.Blue; this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox2.Font = new System.Drawing.Font("Perfect DOS VGA 437", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -82,6 +85,7 @@ // // textBox3 // + this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.textBox3.BackColor = System.Drawing.Color.Blue; this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox3.Font = new System.Drawing.Font("Perfect DOS VGA 437", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -108,6 +112,7 @@ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Win9XBSOD"; this.Text = "Win9XBSOD"; + this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Win9XBSOD_KeyDown); this.ResumeLayout(false); this.PerformLayout(); @@ -115,9 +120,9 @@ #endregion - private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.TextBox textBox2; - private System.Windows.Forms.TextBox textBox3; + internal System.Windows.Forms.Label label1; + internal System.Windows.Forms.TextBox textBox1; + internal System.Windows.Forms.TextBox textBox2; + internal System.Windows.Forms.TextBox textBox3; } }
\ No newline at end of file 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(); + } + } } } |
