From 3306d36ecbc024775972e5cf7971b2a7a70671d0 Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 23 Aug 2017 13:38:40 -0400 Subject: Renaming the game! --- Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs (limited to 'Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs') diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs new file mode 100644 index 0000000..4804ca5 --- /dev/null +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Histacom2.OS.Win95.Win95Apps +{ + public partial class WinClassicWelcome : UserControl + { + public WinClassicWelcome() + { + 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); + } + + private void btnClose_Click(object sender, EventArgs e) + { + ParentForm.Close(); + } + } +} -- cgit v1.2.3