/// <summary>Generate Request button click event handler</summary>
        /// <param name="sender">The sender object.</param>
        /// <param name="e">Event arguments.</param>
        private void generateRequestButton_Click(object sender, EventArgs e)
        {
            Int32  licenseId = 0;
            string password  = passwordTextBox.Text;
            string request   = "";

            m_License.ResetSessionCode();
            //TODO: store the value of m_license.CurrentSessionCode in some hidden location

            if (string.IsNullOrEmpty(licenseIDTextBox.Text))
            {
                MessageBox.Show(this, "Please enter a License ID.", "Activation", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                licenseIDTextBox.Focus();
                return;
            }

            if (!Int32.TryParse(licenseIDTextBox.Text, out licenseId))
            {
                MessageBox.Show(this, "The License ID may only contain numbers.", "Activation", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                licenseIDTextBox.Focus();
                return;
            }

            if (!Int32.TryParse(licenseIDTextBox.Text, out licenseId))
            {
                MessageBox.Show(this, "The License ID may only contain numbers.", "Activation", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                licenseIDTextBox.Focus();
                return;
            }

            if (string.IsNullOrEmpty(passwordTextBox.Text))
            {
                MessageBox.Show(this, "Enter your password.", "Activation", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                passwordTextBox.Focus();
                return;
            }

            generateRequestButton.Enabled = false;
            Cursor = Cursors.WaitCursor;

            request = m_License.GetActivationInstallationLicenseFileRequest(licenseId, password);
            activationRequestTextBox.Text = request;

            generateRequestButton.Enabled = true;
            Cursor = Cursors.Default;

            copyButton.Enabled            = true;
            pasteButton.Enabled           = true;
            activationPageButton.Enabled  = true;
            activationCodeTextBox.Enabled = true;
        }