private void KeyGo_HotKeyTriggerEvent(object sender, HotKeyTriggerEventArgs e) { if (e.HotKeyItem.ProcessName == _CurrentProcessName) { ChangeVisible(); e.Handle = true; } }
private bool OnHotKeyTrigger(HotKeyItem item) { var args = new HotKeyTriggerEventArgs { HotKeyItem = item }; HotKeyTriggerEvent?.Invoke(this, args); return(args.Handle); }