<Page x:Class="FLY.FilmCasting.AutoDie.UI.Client.PgMenu"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:misc="clr-namespace:Misc;assembly=MISC"
      xmlns:local="clr-namespace:FLY.FilmCasting.AutoDie.UI.Client"
      mc:Ignorable="d" 
      d:DesignHeight="768" d:DesignWidth="1388" 
      Background="White"
	Title="Page_Menu">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
                
            </ResourceDictionary.MergedDictionaries>
            <misc:Ver x:Key="version" SrcType="{x:Type local:PgMenu}"/>
        </ResourceDictionary>
    </Page.Resources>
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="540*" />
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal">
            <Button Style="{StaticResource ButtonStyle_back}" Command="BrowseBack"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
            <StackPanel Orientation="Vertical" DataContext="{StaticResource version}">
                <Button Style="{StaticResource ButtonStyle_empty}" Background="{x:Null}" Click="button_version_Click" VerticalAlignment="Center">
                    <TextBlock Text="{Binding .}" FontSize="24" FontWeight="Bold" Margin="15" />
                </Button>
            </StackPanel>

        </StackPanel>
        <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Auto">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>

                    <RowDefinition />
                    <RowDefinition Height="100" />
                </Grid.RowDefinitions>
                <WrapPanel Orientation="Vertical" Grid.Column="1">
                    <WrapPanel.Resources>
                        <Style TargetType="Button" BasedOn="{StaticResource ResourceKey=ButtonStyle_empty}">
                            <Setter Property="Background" Value="#FF0083D7"/>
                            <Setter Property="Width" Value="225"/>
                            <Setter Property="Height" Value="140"/>
                            <Setter Property="Margin" Value="5"/>
                        </Style>
                    </WrapPanel.Resources>

                    <Button Click="button_set_Click">
                        <Grid>
                            <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="White" FontSize="40"  Text="参数" Background="#C00083D7" Padding="10"/>
                        </Grid>
                    </Button>
                    <Button Click="button_heatlist_Click" >
                        <TextBlock FontWeight="Bold" VerticalAlignment="Center" Foreground="White" Background="#C00083D7" Padding="10" FontFamily="Arial" FontSize="40"  >
                            <Run Text="记录" ></Run>
                            <Run FontSize="20">(初级分析器)</Run>
                        </TextBlock>
                    </Button>
                </WrapPanel>
            </Grid>
        </ScrollViewer>


    </Grid>
</Page>
