代码清理/拾色器功能/部分程序优化

This commit is contained in:
liufei
2022-05-20 15:39:52 +08:00
parent 5cfaf9a37d
commit d01a27b827
83 changed files with 1320 additions and 627 deletions

View File

@@ -53,7 +53,8 @@ namespace GeekDesk.Util
UnregisterHotKey(handleTemp[id].Handle, id);
GlobalHotKey.handleTemp[id].Dispose();
GlobalHotKey.handleTemp.Remove(id);
} catch
}
catch
{
//nothing
}
@@ -75,7 +76,7 @@ namespace GeekDesk.Util
{
CreateHandle(new CreateParams());
this.callback += callback;
}
}
private static readonly int WM_HOTKEY = 0x0312;
protected override void WndProc(ref Message m)
@@ -94,4 +95,4 @@ namespace GeekDesk.Util
}
}
}