From 12e606635c42ea20f4b7c2bdda5204237a4b4c96 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 02 三月 2026 16:14:49 +0800
Subject: [PATCH] 优化
---
WPFProject/Login.xaml.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/WPFProject/Login.xaml.cs b/WPFProject/Login.xaml.cs
index 03bc65c..6dc77f1 100644
--- a/WPFProject/Login.xaml.cs
+++ b/WPFProject/Login.xaml.cs
@@ -1,5 +1,4 @@
-锘縰sing HMI.Base;
-using HMI.Core.Entity;
+锘縰sing 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",
--
Gitblit v1.9.1