private void Compatibility_State(object sender, EventArgs e) { ProgramRegistry.CreateReg( Display_GetStarted: this.getStarted, Bf2Hub: CheckBx_Bf2Hub.Checked, Mode1: CheckBx_Mode1.Checked ); }
/// <summary> /// This Constructor is used when the program is run for the first time /// </summary> public KeyGenFrm() { this.is64Bits = !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("PROCESSOR_ARCHITEW6432")); InitializeComponent(); if (is64Bits) { Lbl_OSarch.Text += "x64"; } else { Lbl_OSarch.Text += "x86"; } ProgramRegistry.CreateReg(Display_GetStarted: false); }