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