Exemplo n.º 1
0
 private void WindowKeyPressed(object sender, KeyPressedEventArgs args)
 {
     if (KeyPressed != null)
         KeyPressed(this, args);
 }
Exemplo n.º 2
0
 private void HookKeyPressed(object sender, KeyPressedEventArgs args)
 {
     if (Visible)
         Focus();
     else
         cmsTrayShow_Click(this, new EventArgs());
 }