aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicWelcome.cs32
1 files changed, 32 insertions, 0 deletions
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();
+ }
+ }
+}