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