1234567891011121314151617181920212223242526272829303132333435 |
- <Window x:Class="MeterVision.Dlg.AboutWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="关于" Height="250" Width="400"
- WindowStartupLocation="CenterOwner"
- ShowInTaskbar="False"
- ResizeMode="NoResize"
- Icon="pack://application:,,,/MeterVision;component/Assest/about_2.png">
- <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>
|