示例#1
0
 private void HKPressedEvent(object sender, HotkeyEventArgs e)
 {
     InputBlock.BlockInput(false);
     MessageBox.Show("this is a test message");
 }
示例#2
0
 private void keyLockerButton_Click(object sender, EventArgs e)
 {
     InputBlock.BlockInput(true);
 }