improve:安全面板

This commit is contained in:
2026-03-21 16:30:55 +08:00
parent e8f824a046
commit b2e0e7b9e2
6 changed files with 65 additions and 5 deletions
+11 -1
View File
@@ -390,8 +390,18 @@ namespace Ink_Canvas
}
}
private void BorderBtnHelp_MouseUp(object sender, MouseButtonEventArgs e)
private async void BorderBtnHelp_MouseUp(object sender, MouseButtonEventArgs e)
{
if (SecurityManager.IsPasswordRequiredForModifyOrClearNameList(MainWindow.Settings))
{
bool ok = await SecurityManager.PromptAndVerifyAsync(
MainWindow.Settings,
this,
"名单修改验证",
"请输入安全密码以修改点名名单。");
if (!ok) return;
}
new NamesInputWindow().ShowDialog();
Window_Loaded(this, null);
}