fix(ImageTitleLogo): 保证在重新设置标题栏图片时得到刷新

This commit is contained in:
Open-KFC
2025-05-09 23:29:15 +08:00
parent bf6fa718c8
commit 1c0bd6d02a
@@ -281,6 +281,7 @@
File.Delete(Path & "PCL\Logo.png")
CopyFile(FileName, Path & "PCL\Logo.png")
'设置当前显示
FrmMain.ImageTitleLogo.Source = Nothing '防止因为 Source 属性前后的值相同而不更新 (#5628)
FrmMain.ImageTitleLogo.Source = Path & "PCL\Logo.png"
Catch ex As Exception
If ex.Message.Contains("参数无效") Then