Exemplo n.º 1
0
 public static void AltTabHook()
 {
     User32KeyboardHook.Hook(() =>
     {
         AltTabPressed();
         ActivationRequested();
     });
 }
Exemplo n.º 2
0
 private void OnClose(object sender, CancelEventArgs args)
 {
     User32KeyboardHook.UnHook();
     this.NotifcationAreaIcon.Dispose();
 }