aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/GlobalPrograms/InstallerPanes/EULAPane.cs
blob: e58411797a344b50a91372f21c2583a6193f2515 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
using Histacom2.Engine;

namespace Histacom2.GlobalPrograms.InstallerPanes
{
    public partial class EULAPane : UserControl
    {
        public EULAPane()
        {
            InitializeComponent();
        }

        private void DirectoryPane_Load(object sender, EventArgs e)
        {
            textBox1.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular);
            radioButton1.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular);
            radioButton2.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular);
        }

        private void radioButton1_CheckedChanged(object sender, EventArgs e)
        {
            if (radioButton1.Checked) ((WinClassicInstaller)Parent.Parent).classicButton2.Enabled = true;
            else ((WinClassicInstaller)Parent.Parent).classicButton2.Enabled = false;
        }
    }
}