锁定时写入注册表保存记录

This commit is contained in:
蓝点lilac
2020-12-30 20:15:33 +08:00
parent cb4061a6ba
commit ed99655705

View File

@@ -35,7 +35,7 @@ namespace ContextMenuManager.Controls
get => IsLocked();
set
{
if(value) Lock();
if(value) Owner.WriteRegistry();
else UnLock();
foreach(Control ctr in Owner.Controls)
{