示例#1
0
 //Event fired when showHook is activated
 void shoHook_KeyPressed(object sender, KeyPressedEventArgs e)
 {
     Console.WriteLine("Show Hook Key Pressed");
     this.Show();
     this.Focus();
 }
示例#2
0
 //Event fired when showHook is activated
 void hideHook_KeyPressed(object sender, KeyPressedEventArgs e)
 {
     Console.WriteLine("Hide Hook Key Pressed");
     this.Hide();
 }