Commits

Christian Specht committed 4ba04c1 Draft

put information into AboutWindow

Comments (0)

Files changed (2)

src/MissileSharp.Launcher/MissileSharp.Launcher.csproj

     <Resource Include="..\..\img\logo.ico">
       <Link>Views\logo.ico</Link>
     </Resource>
+    <Resource Include="..\..\img\logo64x64.png">
+      <Link>Views\logo64x64.png</Link>
+    </Resource>
     <Content Include="..\MissileSharp.Demo\settings.txt">
       <Link>settings.txt</Link>
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>

src/MissileSharp.Launcher/Views/AboutWindow.xaml

         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="AboutWindow" Height="300" Width="300">
-    <Grid>
+        ResizeMode="NoResize"
+        Title="About MissileSharp Launcher"
+        Height="230" Width="400"
+        Icon="logo.ico"
+        >
+    <StackPanel Margin="10">
+        <Grid>
+            <Grid.ColumnDefinitions>
+                <ColumnDefinition Width="Auto"/>
+                <ColumnDefinition />
+            </Grid.ColumnDefinitions>
+            
+            <Image Grid.Column="0" Source="logo64x64.png" Height="64" Width="64" Margin="0 0 10 0" />
+            
+            <StackPanel Grid.Column="1">
+                <TextBlock Text="MissileSharp" FontSize="16"/>
+                <TextBlock Text="by Christian Specht" FontSize="14" Margin="0 10" />
+            </StackPanel>
+        </Grid>
+
+        <TextBlock FontSize="14" Margin="0 10">
+            More information: <Hyperlink NavigateUri="http://christianspecht.de/missilesharp">http://christianspecht.de/missilesharp</Hyperlink>
+        </TextBlock>
+
+        <TextBlock FontSize="14" Margin="0 10">
+            MissileSharp is licensed under the <Hyperlink NavigateUri="https://bitbucket.org/christianspecht/missilesharp/raw/tip/License.txt">MIT License</Hyperlink>.
+        </TextBlock>
         
-    </Grid>
+        <Button Height="30" Margin="0 10" Name="OkButton" Content="OK" />
+
+    </StackPanel>
 </Controls:MetroWindow>