Пример #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);
 }