private void lblKeyPress_LinkClicked(object sender, EventArgs e)
        {
            KeyPressDefinitionForm frm = new KeyPressDefinitionForm();

            if (frm.ShowDialog(this) == DialogResult.OK &&
                frm.KeyEventArgs != null)
            {
                lblKeyPress.Text =
                    new KeysConverter().ConvertToInvariantString(frm.KeyEventArgs.KeyData);

                txtOutputData.Text = "KeyPress?{" + lblKeyPress.Text + "}";
            }
        }
        private void lblKeyPress_LinkClicked(object sender, EventArgs e)
        {
            KeyPressDefinitionForm frm = new KeyPressDefinitionForm();
            if (frm.ShowDialog(this) == DialogResult.OK && 
                frm.KeyEventArgs != null)
            {
                lblKeyPress.Text =
                    new KeysConverter().ConvertToInvariantString(frm.KeyEventArgs.KeyData);

                txtOutputData.Text = "KeyPress?{" + lblKeyPress.Text + "}";
            }
        }