晚安, 还在功能性开发

This commit is contained in:
Demo_Liu
2021-05-31 21:54:10 +08:00
parent 9a45899b47
commit 0a983a3a17
8 changed files with 86 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ using GeekDesk.Constant;
using GeekDesk.Control;
using GeekDesk.Util;
using GeekDesk.ViewModel;
using GlobalHotKey;
using SharpShell.SharpContextMenu;
using System;
using System.Collections.ObjectModel;
@@ -53,7 +54,7 @@ namespace GeekDesk
this.Visibility = Visibility.Collapsed;
}
//加载完毕注册热键
Hotkey.Regist(this, HotkeyModifiers.MOD_CONTROL, Key.Y, ()=>
Hotkey.Regist(this, HotkeyModifiers.MOD_CONTROL | HotkeyModifiers.MOD_ALT, Key.Y, ()=>
{
if (this.Visibility == Visibility.Collapsed)
{