123456789101112131415161718192021222324252627282930313233343536373839 |
- <Window x:Class="MV485.Dlg.AboutWindow"
- 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:MV485.Dlg"
- mc:Ignorable="d"
- WindowStartupLocation="CenterOwner"
- ShowInTaskbar="False"
- ResizeMode="NoResize"
- Icon="pack://application:,,,/MV485;component/Assest/about_2.png"
- Title="关于" Height="250" Width="400">
- <Grid>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="40" />
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="10">
- <!-- 应用程序名称 -->
- <TextBlock x:Name="AppNameTextBlock" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" Margin="0,10"/>
- <!-- 版本号 -->
- <TextBlock x:Name="VersionTextBlock" FontSize="14" HorizontalAlignment="Center" Margin="0,10"/>
- <!-- 版权信息 -->
- <TextBlock x:Name="CopyrightTextBlock" FontSize="14" LineHeight="25"
- HorizontalAlignment="Center" Margin="0,10" TextWrapping="Wrap" TextAlignment="Center"/>
- <!-- 开发者信息 -->
- <!--<TextBlock x:Name="DeveloperTextBlock" FontSize="13" HorizontalAlignment="Center" Margin="0,5"/>-->
- </StackPanel>
- <StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" >
- <!-- 关闭按钮 -->
- <Button Content="关闭" HorizontalAlignment="Center" VerticalAlignment="Bottom"
- Width="100" Height="30" FontSize="14"
- Margin="0" Click="CloseButton_Click"/>
- </StackPanel>
- </Grid>
- </Grid>
- </Window>
|