* UIForm: 修复了一个全局热键销毁的判断
This commit is contained in:
parent
e2979955fc
commit
0a0a71e0da
Binary file not shown.
7
SunnyUI/Forms/UIForm.designer.cs
generated
7
SunnyUI/Forms/UIForm.designer.cs
generated
@ -17,9 +17,12 @@ namespace Sunny.UI
|
||||
{
|
||||
this.UnRegister();
|
||||
|
||||
foreach (var hotKey in this.hotKeys.Values)
|
||||
if (hotKeys != null)
|
||||
{
|
||||
Win32.User.UnregisterHotKey(IntPtr.Zero, hotKey.id);
|
||||
foreach (var hotKey in hotKeys.Values)
|
||||
{
|
||||
Win32.User.UnregisterHotKey(IntPtr.Zero, hotKey.id);
|
||||
}
|
||||
}
|
||||
|
||||
if (disposing && (components != null))
|
||||
|
Loading…
x
Reference in New Issue
Block a user