From 29fdc4c04f031f88159d8d300329208d44ce7b9e Mon Sep 17 00:00:00 2001 From: JayXKanz666 Date: Thu, 6 Jul 2017 01:59:15 +0200 Subject: Made the Welcome screen look MUCH better Next time, Justin, do it right. ;) --- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs index 52a8938..b0761b1 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs @@ -15,11 +15,15 @@ namespace TimeHACK.OS.Win95.Win95Apps public WinClassicWelcome() { InitializeComponent(); + + btnTour.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnOnline.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnClose.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); } private void btnClose_Click(object sender, EventArgs e) { - this.ParentForm.Close(); + ParentForm.Close(); } } } -- cgit v1.2.3 From eb5b4265492b47bb477767cc524ff99401baaac9 Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 5 Jul 2017 21:19:56 -0400 Subject: Fixed the Welcome Screen buttons --- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.Designer.cs | 6 +++--- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.Designer.cs index 2caa0f9..fee95d5 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.Designer.cs @@ -66,7 +66,7 @@ this.btnClose.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.Location = new System.Drawing.Point(358, 156); this.btnClose.Name = "btnClose"; - this.btnClose.Size = new System.Drawing.Size(119, 23); + this.btnClose.Size = new System.Drawing.Size(115, 26); this.btnClose.TabIndex = 15; this.btnClose.Text = "Close"; this.btnClose.UseVisualStyleBackColor = false; @@ -79,7 +79,7 @@ this.btnOnline.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOnline.Location = new System.Drawing.Point(356, 78); this.btnOnline.Name = "btnOnline"; - this.btnOnline.Size = new System.Drawing.Size(119, 23); + this.btnOnline.Size = new System.Drawing.Size(115, 26); this.btnOnline.TabIndex = 14; this.btnOnline.Text = "Online Registration"; this.btnOnline.UseVisualStyleBackColor = false; @@ -91,7 +91,7 @@ this.btnTour.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnTour.Location = new System.Drawing.Point(356, 49); this.btnTour.Name = "btnTour"; - this.btnTour.Size = new System.Drawing.Size(119, 23); + this.btnTour.Size = new System.Drawing.Size(115, 26); this.btnTour.TabIndex = 12; this.btnTour.Text = "What\'s New"; this.btnTour.UseVisualStyleBackColor = false; diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs index b0761b1..b830391 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWelcome.cs @@ -16,8 +16,11 @@ namespace TimeHACK.OS.Win95.Win95Apps { InitializeComponent(); + btnTour.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); btnTour.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnOnline.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); btnOnline.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnClose.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); btnClose.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); } -- cgit v1.2.3