using XFEExtension.NetCore.AutoConfig;
using XFEToolBox.Core.Model;
using XFEToolBox.Views.Windows;
namespace XFEToolBox.Profiles.CrossVersionProfiles;
public partial class SystemProfile
{
///
/// 当前窗口DPI缩放
///
[ProfileProperty]
private double currentWindowDPIScale = 1.0;
///
/// 主窗体宽度
///
[ProfileProperty]
private double mainWindowWidth = 720;
///
/// 主窗体高度
///
[ProfileProperty]
private double mainWindowHeight = 450;
///
/// 是否开机自启动
///
[ProfileProperty]
private bool autoSelfLaunch = false;
///
/// 是否是以最大化启动
///
[ProfileProperty]
private bool startWithMaximize = false;
public SystemProfile() => ProfilePath = @$"{AppPath.LocalProfile}\{typeof(SystemProfile)}.xprofile";
///
/// 工具箱现在是否可以被关闭
///
public static bool CanClosed { get; set; }
}