diff options
| author | lempamo <[email protected]> | 2017-04-13 14:04:41 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-04-13 14:04:41 -0400 |
| commit | 036a986ce1f56e6cda0617e6e574a875b847911b (patch) | |
| tree | ee047052f0dae8b05059630cda9ce067469a871c /TimeHACK.Engine/Template | |
| parent | f1e0c8f75de4a5086ff955789e9397696df25199 (diff) | |
| download | histacom2-036a986ce1f56e6cda0617e6e574a875b847911b.tar.gz histacom2-036a986ce1f56e6cda0617e6e574a875b847911b.tar.bz2 histacom2-036a986ce1f56e6cda0617e6e574a875b847911b.zip | |
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(); + } + } } } |
