Exemplo n.º 1
0
 private void HandleEsc(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Escape)
     {
         //controller.setMovement(MouseController.Movement.HOTKEY);
         SaveConfiguration();
         // overlayEyeForm.Close();
         overlay.Close();
         this.Close();
     }
 }
Exemplo n.º 2
0
 private void HandleEsc(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Escape)
     {
         controller.PauseHotKeyDown();
         refreshTimer.Enabled = false;
         //controller.setMovement(MouseController.Movement.HOTKEY);
         SaveConfiguration();
         // overlayEyeForm.Close();
         overlay.Close();
         this.Close();
     }
 }
Exemplo n.º 3
0
 private void QuitButton_Click(object sender, EventArgs e)
 {
     SaveConfiguration();
     overlayEyeForm.Close();
     overlay.Close();
     this.Close();
 }