From e8c4c4628daa3f105713f0b1997b4277f62273b4 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 2 Jul 2017 00:13:27 -0400 Subject: better extra buttons and exit --- TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs | 5 +++++ TimeHACK.Main/Program.cs | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs index 050e1e3..f3d8dde 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs @@ -232,6 +232,8 @@ // // button2 // + this.button2.BackColor = System.Drawing.Color.Silver; + this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Location = new System.Drawing.Point(422, 415); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(71, 23); @@ -243,6 +245,8 @@ // // button3 // + this.button3.BackColor = System.Drawing.Color.Silver; + this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Location = new System.Drawing.Point(149, 427); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); @@ -250,6 +254,7 @@ this.button3.Text = "Paul"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.Button3_Click); + this.button3.Paint += (sender, args) => Engine.Paintbrush.paintClassicBorders(sender, args, 2); // // button4 // diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs index 8411ae8..ea1936f 100644 --- a/TimeHACK.Main/Program.cs +++ b/TimeHACK.Main/Program.cs @@ -86,7 +86,8 @@ namespace TimeHACK stopsound.PlaySync(); System.Threading.Thread.Sleep(500); - Application.Exit(); + Environment.Exit(0); + //Application.Exit(); } public static void GetAppVeyor() -- cgit v1.2.3