feat: add application icon (price tag design)

This commit is contained in:
2026-04-17 02:48:20 +01:00
parent 60ed955143
commit b3bb2e704e
3 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
@@ -6,6 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<AssemblyName>EbayListingTool</AssemblyName>
<ApplicationIcon>app_icon.ico</ApplicationIcon>
<RootNamespace>EbayListingTool</RootNamespace>
</PropertyGroup>
@@ -28,6 +29,7 @@
</ItemGroup>
<ItemGroup>
<Resource Include="app_icon.ico" />
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

View File

@@ -1,4 +1,4 @@
<mah:MetroWindow x:Class="EbayListingTool.Views.MainWindow"
<mah:MetroWindow x:Class="EbayListingTool.Views.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
@@ -8,6 +8,7 @@
Height="820" Width="1180"
MinHeight="600" MinWidth="900"
WindowStartupLocation="CenterScreen"
Icon="/pack://application:,,,/app_icon.ico"
GlowBrush="{DynamicResource MahApps.Brushes.Accent}">
<mah:MetroWindow.Resources>

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B