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> <PropertyGroup>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
@@ -6,6 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF> <UseWPF>true</UseWPF>
<AssemblyName>EbayListingTool</AssemblyName> <AssemblyName>EbayListingTool</AssemblyName>
<ApplicationIcon>app_icon.ico</ApplicationIcon>
<RootNamespace>EbayListingTool</RootNamespace> <RootNamespace>EbayListingTool</RootNamespace>
</PropertyGroup> </PropertyGroup>
@@ -28,6 +29,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Resource Include="app_icon.ico" />
<None Update="appsettings.json"> <None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </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="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls" xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
@@ -8,6 +8,7 @@
Height="820" Width="1180" Height="820" Width="1180"
MinHeight="600" MinWidth="900" MinHeight="600" MinWidth="900"
WindowStartupLocation="CenterScreen" WindowStartupLocation="CenterScreen"
Icon="/pack://application:,,,/app_icon.ico"
GlowBrush="{DynamicResource MahApps.Brushes.Accent}"> GlowBrush="{DynamicResource MahApps.Brushes.Accent}">
<mah:MetroWindow.Resources> <mah:MetroWindow.Resources>

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B