예제 #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();
            }
        }