feat: add icon resources for editor
This commit is contained in:
38
BallanceTasEditor/Views/AboutDialog.xaml
Normal file
38
BallanceTasEditor/Views/AboutDialog.xaml
Normal file
@@ -0,0 +1,38 @@
|
||||
<Window x:Class="BallanceTasEditor.Views.AboutDialog"
|
||||
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:BallanceTasEditor.Views"
|
||||
mc:Ignorable="d" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow"
|
||||
Title="About Ballance TAS Editor" Width="340" Height="480" Icon="/Assets/MenuAbout.ico">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<!-- 图标 -->
|
||||
<ContentControl Grid.Row="0" Content="{StaticResource IconApp}"
|
||||
Width="64" Height="64" HorizontalAlignment="Center" Margin="10" />
|
||||
|
||||
<!-- 应用名称和简介 -->
|
||||
<TextBlock Grid.Row="1" Text="Ballance TAS Editor" FontSize="20" FontWeight="Bold" HorizontalAlignment="Center" Margin="10" />
|
||||
<TextBlock Grid.Row="2" Text="Stable, Robust and Free TAS Editor" TextAlignment="Center" Margin="10" />
|
||||
<!-- 详情(版权信息等) -->
|
||||
<TextBox Grid.Row="3" IsReadOnly="True" TextWrapping="Wrap" Margin="10"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||||
Text="Copyright © 2021-2025 yyc12345. All rights reserved.
|
||||
|
||||
Program: yyc12345
|
||||
Icon design: plAer_2
|
||||
|
||||
Version: 1.2 stable
|
||||
Build Date: October 21, 2025 "/>
|
||||
|
||||
<!-- 确认按钮 -->
|
||||
<Button Grid.Row="4" Content="OK" MinWidth="80" HorizontalAlignment="Center" Margin="10" Padding="5"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user