给设置界面添加是否最小化到通知栏选项

This commit is contained in:
2025-07-09 20:48:14 +08:00
parent cba1c1abf4
commit 5915a6c87b
4 changed files with 41 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ namespace PMSWPF.Config
public bool EnableS7Service { get; set; } = true;
public bool EnableMqttService { get; set; } = true;
public bool EnableOpcUaService { get; set; } = true;
public bool MinimizeToTrayOnClose { get; set; } = true;
private static readonly string SettingsFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "connectionSettings.json");