Exemplo n.º 1
0
 private void OnKeyDown(object sender, KeyEventArgs e)
 {
     Console.WriteLine("key down! "+ e.ToString());
    // if (e.Control)
     {
         if (e.KeyValue == (int)Keys.Escape)
         {
             textBox1.Text = "Stopped";
             Console.WriteLine("escape");
             keepMouseMoving = false;
         }
     }
 }
Exemplo n.º 2
0
 private void MainV2_KeyDown(object sender, KeyEventArgs e)
 {
     Message temp = new Message();
     ProcessCmdKey(ref temp, e.KeyData);
     Console.WriteLine("MainV2_KeyDown " + e.ToString());
 }
Exemplo n.º 3
0
 private void MainV2_KeyDown(object sender, KeyEventArgs e)
 {
     Console.WriteLine(e.ToString());
 }