feat: add modern app icon

This commit is contained in:
2026-07-21 10:36:02 +09:00
parent d9b477e543
commit 5ccf8b8ffd
16 changed files with 138 additions and 0 deletions

View File

@@ -257,6 +257,11 @@ public sealed partial class MainWindow : Window
var windowId = Microsoft.UI.Win32Interop.GetWindowIdFromWindow(windowHandle);
var appWindow = AppWindow.GetFromWindowId(windowId);
appWindow.Title = "V-Stock 증권정보송출시스템 for 매일경제TV (26.03.26)";
var iconPath = Path.Combine(AppContext.BaseDirectory, "Assets", "AppIcon.ico");
if (File.Exists(iconPath))
{
appWindow.SetIcon(iconPath);
}
if (appWindow.Presenter is OverlappedPresenter presenter)
{