public frmLicenseWizard(int daysRemaining, SlyceAuthorizer.LockTypes lockType, SlyceAuthorizer.LicenseStates licenseStatus) { InitializeComponent(); Instance = this; DaysRemaining = daysRemaining; LockType = lockType; LicenseStatus = licenseStatus; ucHeading1.Text = ""; _ScreenStart = new ScreenStart(); _ScreenStart.BackColor = Color.FromArgb(220, 220, 220); LoadScreen(_ScreenStart); string message; List<string> machineIds = SlyceAuthorizer.GetMachineIds(out message); if (machineIds.Count > 0) InstallationId = machineIds[0]; else MessageBox.Show(this, message, "Error Determining InstallationID", MessageBoxButtons.OK, MessageBoxIcon.Error); }
public frmLicenseWizard(int daysRemaining, SlyceAuthorizer.LockTypes lockType, SlyceAuthorizer.LicenseStates licenseStatus) { InitializeComponent(); Instance = this; DaysRemaining = daysRemaining; LockType = lockType; LicenseStatus = licenseStatus; ucHeading1.Text = ""; _ScreenStart = new ScreenStart(); _ScreenStart.BackColor = Color.FromArgb(220, 220, 220); LoadScreen(_ScreenStart); string message; List <string> machineIds = SlyceAuthorizer.GetMachineIds(out message); if (machineIds.Count > 0) { InstallationId = machineIds[0]; } else { MessageBox.Show(this, message, "Error Determining InstallationID", MessageBoxButtons.OK, MessageBoxIcon.Error); } }