Add icon to application.

This commit is contained in:
Tichau committed 2015-05-27 10:39:21 +02:00
1 parent 4a02a02083
commit 0793a25ebc
6 files changed
+7 -6

No files matched your search

@@ -42,7 +42,7 @@
<OutputPath>bin\x64\Release\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>ApplicationIcon.ico</ApplicationIcon>
<ApplicationIcon>Resources\ApplicationIcon-256x256.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Accessibility" />
@@ -137,10 +137,11 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Resource Include="ApplicationIcon.ico" />
<Resource Include="Resources\ApplicationIcon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\ApplicationIcon.png" />
<Resource Include="Resources\ApplicationIcon-16x16.ico" />
<Resource Include="Resources\ApplicationIcon-256x256.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -6,7 +6,7 @@
xmlns:local="clr-namespace:FileConverter.Windows"
xmlns:fileConverter="clr-namespace:FileConverter"
mc:Ignorable="d"
Title="Diagnostics" Height="600" Width="800">
Title="Diagnostics" Height="600" Width="800" Icon="/FileConverter;component/Resources/ApplicationIcon-16x16.ico">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
@@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="FileConverter.MainWindow"
xmlns:local="clr-namespace:FileConverter"
x:Name="FileConverterMainWindow" Height="500" Width="950" MinHeight="250" MinWidth="450" WindowStartupLocation="CenterScreen">
x:Name="FileConverterMainWindow" Height="500" Width="950" MinHeight="250" MinWidth="450" WindowStartupLocation="CenterScreen" Icon="/FileConverter;component/Resources/ApplicationIcon-16x16.ico">
<Window.Resources>
<local:ApplicationVersionToApplicationName x:Key="ApplicationVersionToApplicationName"/>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
@@ -2,7 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:FileConverter"
Height="350" Width="520" MinHeight="350" MinWidth="440"
WindowStartupLocation="CenterScreen">
WindowStartupLocation="CenterScreen" Icon="/FileConverter;component/Resources/ApplicationIcon-16x16.ico">
<Window.Resources>
<local:InputTypesToBool x:Key="InputTypesToBool"/>
<local:ApplicationVersionToApplicationName x:Key="ApplicationVersionToApplicationName"/>