1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-10-31 19:04:44 +00:00
6502bench/SourceGenWPF/WpfGui/AboutBox.xaml
Andy McFadden 2f82ff5b46 Implement copy-to-clipboard
Also, add keyboard shortcuts to toolbar tooltips.  This is particularly
useful for navigate forward/backward, as those aren't part of the
menu structure, and have two keyboard shortcuts apiece.
2019-07-11 11:36:07 -07:00

66 lines
2.8 KiB
XML

<!--
Copyright 2019 faddenSoft
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Window x:Class="SourceGenWPF.WpfGui.AboutBox"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
xmlns:local="clr-namespace:SourceGenWPF.WpfGui"
mc:Ignorable="d"
Title="About SourceGen"
Width="720" Height="600" ResizeMode="NoResize"
ShowInTaskbar="False" WindowStartupLocation="CenterOwner"
Loaded="Window_Loaded">
<Grid Margin="8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Image Grid.Column="0" Grid.Row="0"
Source="/SourceGenWPF;component/Res/Logo.png"/>
<StackPanel Grid.Column="1" Grid.Row="0" Margin="8,12,0,0">
<TextBlock Text="6502bench SourceGen" FontSize="30"/>
<TextBlock FontSize="24"
Text="{Binding ProgramVersionString, StringFormat={}Version {0},
FallbackValue=Version X.Y.Z-alpha1}"/>
<TextBlock Text="Copyright 2018 faddenSoft" Margin="0,30,0,0"/>
<TextBlock Text="Created by Andy McFadden"/>
</StackPanel>
<StackPanel Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2" Margin="0,8,0,0">
<TextBlock Text="{Binding OsPlatform, FallbackValue=OS: blah blah blah}"/>
<TextBlock Text="Assertions and extended validation are enabled"
Visibility="{Binding DebugMessageVisibility}"/>
<TextBlock Text="Legal stuff:" Margin="0,8,0,0"/>
</StackPanel>
<TextBox Name="legalStuffTextBox" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2"
VerticalScrollBarVisibility="Auto"/>
<Button Grid.Column="1" Grid.Row="3" HorizontalAlignment="Right" Margin="0,8,0,0"
Content="OK" IsCancel="True" Width="70"/>
</Grid>
</Window>