private void hookKeyPressed(object sender, KeyPressedEventArgs e) { // show the keys pressed in a label. //edText.Text = e.Modifier.ToString() + " + " + e.Key.ToString(); btnQRDecode.PerformClick(); }