alielie
2026-06-15 f08871fe7d148d667f2f11f80f64de71a0d9504c
WPFProject/Login.xaml.cs
@@ -1,5 +1,4 @@
using HMI.Base;
using HMI.Core.Entity;
using HMI.Core.Entity;
using HMI.Core.Setting;
using HMI.Core.Util;
using HMI.UI.DpUtil;
@@ -12,9 +11,9 @@
using System.IO;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
using System.Windows.Threading;
using WPFProject.Utils;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel;
namespace WPFProject
{
@@ -35,6 +34,8 @@
        {
            log = LogManager.GetLogger("Login");
            InitializeComponent();
            logoImage.Source = new BitmapImage(new Uri(Path.Combine(PathHelper.IconFolder,
                    SystemSetting.Instance.LoginLogoPath ?? "LoginLogo.png")));
        }
        private static readonly Encryptor encryptor = new Encryptor("aB3dE5fG7hI9jjK1lMnOpQrS2tUvWxYz",