aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/GlobalPrograms/WinClassicInstaller.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-09-23 17:25:22 +0100
committerAlex-TIMEHACK <[email protected]>2017-09-23 17:25:22 +0100
commit350e749bb9eab16efe753f9b8fd703b52a97f808 (patch)
tree9c90ec1a8148d66d9ff8605710a992e5e14a6b7e /Histacom2/GlobalPrograms/WinClassicInstaller.cs
parent84ef033af262343febc3f84471233e18bc6b502e (diff)
parent1ee3e00f8f0ee879fce4edf7d1ba9889335bc826 (diff)
downloadhistacom2-350e749bb9eab16efe753f9b8fd703b52a97f808.tar.gz
histacom2-350e749bb9eab16efe753f9b8fd703b52a97f808.tar.bz2
histacom2-350e749bb9eab16efe753f9b8fd703b52a97f808.zip
Merge branch 'master' of https://github.com/Histacom2-Devs/Histacom2
Diffstat (limited to 'Histacom2/GlobalPrograms/WinClassicInstaller.cs')
-rw-r--r--Histacom2/GlobalPrograms/WinClassicInstaller.cs45
1 files changed, 45 insertions, 0 deletions
diff --git a/Histacom2/GlobalPrograms/WinClassicInstaller.cs b/Histacom2/GlobalPrograms/WinClassicInstaller.cs
new file mode 100644
index 0000000..4e0098c
--- /dev/null
+++ b/Histacom2/GlobalPrograms/WinClassicInstaller.cs
@@ -0,0 +1,45 @@
+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.GlobalPrograms
+{
+ public partial class WinClassicInstaller : UserControl
+ {
+ public string progName;
+ public int state = 0;
+
+ public WinClassicInstaller(string prog)
+ {
+ InitializeComponent();
+ progName = prog;
+ }
+
+ private void WinClassicInstaller_Load(object sender, EventArgs e)
+ {
+ var welkom = new InstallerPanes.WelcomePane();
+ welkom.Parent = panel1;
+ }
+
+ private void classicButton2_Click(object sender, EventArgs e)
+ {
+ classicButton3.Show();
+
+ panel1.Controls.Clear();
+
+ if (state == 0)
+ {
+ var eula = new InstallerPanes.EULAPane();
+ eula.Parent = panel1;
+ state = 1;
+ classicButton2.Enabled = false;
+ }
+ }
+ }
+}