示例#1
0
        private void _enterNewProductKey_Click(object sender, EventArgs e)
        {
            ProductActivationForm form = new ProductActivationForm();

            form.ShowDialog();
            _productExpirationDetailsControl.RefreshText();
            ApplicationServices.ApplyLicense(false);
        }
示例#2
0
        private void ShowActivationForm()
        {
            ProductActivationForm form = new ProductActivationForm();

            if (form.ShowDialog() == DialogResult.OK)
            {
                Close();
            }
        }