1. Christian Specht
  2. MissileSharp

Commits

Christian Specht  committed 804eafc Draft

add window icon

  • Participants
  • Parent commits 36fb109
  • Branches default

Comments (0)

Files changed (4)

File img/logo.ico

  • Ignore whitespace
Added
New image

File src/MissileSharp.Launcher/MissileSharp.Launcher.csproj

View file
  • Ignore whitespace
       <Link>settings.txt</Link>
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </Content>
+    <Resource Include="Views\logo.ico" />
   </ItemGroup>
   <ItemGroup>
     <None Include="packages.config" />

File src/MissileSharp.Launcher/Views/MainWindow.xaml

View file
  • Ignore whitespace
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
-        Title="MissileSharp Launcher" Height="350" Width="525">
+        Title="MissileSharp Launcher" Height="350" Width="525"
+        Icon="logo.ico"
+        ShowTitleBar="True"
+        ShowIconOnTitleBar="true">
     <Window.Resources>
         <ResourceDictionary>
             <ResourceDictionary.MergedDictionaries>

File src/MissileSharp.Launcher/Views/logo.ico

  • Ignore whitespace
Added
New image