<Window x:Class="头罩视野.MainWindow"
        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:hc="https://handyorg.github.io/handycontrol"
        xmlns:local="clr-namespace:头罩视野"
        mc:Ignorable="d"
         Background="#FFE6F2FF"
        Title="MainWindow" Height="768" Width="1024"  WindowStartupLocation="CenterScreen"  WindowState="Maximized" >
    <Window.Resources>
        <Style x:Key="TabButtonStyle" TargetType="Button">
            <Setter Property="Background" Value="#3498DB"/>
            <Setter Property="FontSize" Value="20"/>
            <Setter Property="Foreground" Value="#fff"/>
            <Setter Property="Height" Value="70"/>
            <Setter Property="Width" Value="300"/>
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="BorderBrush" Value="#fff"/>
        </Style>

    </Window.Resources>

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="507*"/>
            <ColumnDefinition Width="5*"/>
        </Grid.ColumnDefinitions>
        <!-- 背景图片/渐变 -->
        <Grid.Background>
            <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                <GradientStop Color="#FF6A95D1" Offset="0"/>
                <GradientStop Color="#FF87CEFA" Offset="0.5"/>
                <GradientStop Color="#FFE0F7FA" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>

        <!-- 世界地图装饰层 -->
        <Image Source="/Images/bmg.png" Opacity="1" Width="800"
               Margin="0,200,0,0"/>

        <!-- 波浪装饰 -->
        <Path Data="M0,300 Q250,100 500,300 T1000,300 L1000,600 L0,600 Z" 
              Fill="White" Opacity="0.2" Stroke="White" StrokeThickness="1" Grid.ColumnSpan="2"/>
        <Path Data="M0,350 Q250,150 500,350 T1000,350 L1000,600 L0,600 Z" 
              Fill="White" Opacity="0.15" Stroke="White" StrokeThickness="1" Grid.ColumnSpan="2"/>

        <!-- 主标题区 -->
        <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
            <!-- 中文标题 -->
            <TextBlock x:Name="TX_1" Text="头罩视野测试仪" 
                       FontSize="48" FontWeight="Bold" 
                       Foreground="White"
                      
                       HorizontalAlignment="Center"
                       Margin="0,-160,0,20"/>

            <!-- 英文标题 -->
            <TextBlock x:Name="TX_0" Text="Head Hood field of view tester" 
                       FontSize="36" FontWeight="Bold" 
                       Foreground="White"
                       HorizontalAlignment="Center"
                       Margin="0,-75,0,20"/>
        </StackPanel>
        <!--<Button Content="跳转到页面" Click="Button_Click" FontSize="16" Width="120" Height="40"  Margin="0,300,0,0"/>-->
        <Grid Grid.Row="1" >
            <Button Style="{StaticResource TabButtonStyle}" Grid.Column="0"  Foreground="#C56DE4" Background="Transparent" BorderThickness="0"   Content="点击我进入项目体验吧~" 
                    Click="GoRecord" />
        </Grid>
        <Grid Grid.Row="2" >
            <Button Style="{StaticResource TabButtonStyle}"  Width="100" Height="100" VerticalAlignment="Bottom" 
                    HorizontalAlignment="Right" Grid.Column="0"   Background="Transparent" BorderThickness="0" 
                      Content="" Click="GoVisiPage"/>
        </Grid>
        <Frame x:Name="MainFrame" NavigationUIVisibility="Hidden"/>
    </Grid>
</Window>
