private void button2_Click(object sender, EventArgs e)
 {
     var dlg = new ProtectionPlusOnlineActivationForm(_license.ThisProductID, "1.0.0.0");
     dlg.ShowDialog();
     ActivationSuccessful = dlg.ActivationSuccessful;
     this.Close();
 }
        private void btnOK_Click(object sender, EventArgs e)
        {
            if (radioActivateNow.Checked)
            {
                var activationDialog = new ProtectionPlusOnlineActivationForm(TrialLicense.ProductID, TrialLicense.ProductVersion);
                activationDialog.ShowDialog();
                if (!activationDialog.ActivationSuccessful)
                {
                    return;
                }
                LicenseOK = true;
            }
            else if (radioContinueWithTrial.Checked)
            {
                LicenseOK = true;
            }
            else
            {
                throw new NotImplementedException();
            }

            this.Close();
        }