improve:PPT及自动更新

This commit is contained in:
2025-09-06 21:26:46 +08:00
parent 38902c8f88
commit 27d683a7cc
6 changed files with 145 additions and 0 deletions
+3
View File
@@ -585,6 +585,9 @@ namespace Ink_Canvas
{
LogHelper.WriteLogToFile("PPT放映状态变化:退出放映模式", LogHelper.LogType.Trace);
}
// 检查主窗口可见性(用于仅PPT模式)
CheckMainWindowVisibility();
});
}
catch (Exception ex)
@@ -786,6 +786,17 @@ namespace Ink_Canvas
ToggleSwitchDirectCallCiRand.IsOn = Settings.RandSettings.DirectCallCiRand;
}
// ModeSettings
if (Settings.ModeSettings != null)
{
ToggleSwitchMode.IsOn = Settings.ModeSettings.IsPPTOnlyMode;
}
else
{
Settings.ModeSettings = new ModeSettings();
ToggleSwitchMode.IsOn = false;
}
// Automation
if (Settings.Automation != null)
{