<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <!-- 查询按钮样式-->
    <Style x:Key="btnSearchstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="HorizontalAlignment" Value="Center"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="White" BorderThickness="1" CornerRadius="3">
                        <DockPanel  Margin="1"  Name="btnSearchBg">
                            <DockPanel.Background>
                                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                    <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                    <GradientStop  Color="#0C2033" Offset="0.8"></GradientStop>
                                </LinearGradientBrush>
                            </DockPanel.Background>
                            <Image  Source="pack://siteoforigin:,,,/Resources/BtnSelect.png" Width="30" Height="30" Margin="20,0,20,0"></Image>
                            <TextBlock Margin="0,5,20,5">查询</TextBlock>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop  Color="#0C2033" Offset="0.0"></GradientStop>
                                        <GradientStop Color="#304C8e" Offset="0.8"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!-- 查询按钮样式-->
    <Style x:Key="btnCloseStyle"  TargetType="Button" >
        <Setter Property="HorizontalAlignment" Value="Center"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="Transparent" BorderThickness="1" CornerRadius="3">
                        <DockPanel  Margin="1"  Name="btnSearchBg">
                            <Image  Source="pack://siteoforigin:,,,/Resources/close.png" Width="30" Height="30" Margin="20,0,20,0"></Image>
                        </DockPanel>
                    </Border>
                    <!--<ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop  Color="#0C2033" Offset="0.0"></GradientStop>
                                        <GradientStop Color="#304C8e" Offset="0.8"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>-->
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--头部按钮样式-->
    <Style x:Key="rowBtnstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="15"></Setter>
        <Setter Property="HorizontalAlignment" Value="Center"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="White" BorderThickness="1" CornerRadius="3">
                        <DockPanel  Margin="1"  Name="btnSearchBg">
                            <DockPanel.Background>
                                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                    <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                    <GradientStop  Color="#0C2033" Offset="0.8"></GradientStop>
                                </LinearGradientBrush>
                            </DockPanel.Background>
                            <!--<Image  Source="pack://siteoforigin:,,,/Resources/BtnSelect.png" Width="30" Height="30" Margin="20,0,20,0"></Image>-->
                            <TextBlock Margin="10,0,10,0"  Text="{TemplateBinding Button.Content}"></TextBlock>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop  Color="#0C2033" Offset="0.0"></GradientStop>
                                        <GradientStop Color="#7F7F7F" Offset="0.8"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>



    <!-- 窗体操作按钮-->
    <Style x:Key="FormBtnstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="30"></Setter>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="White" BorderThickness="1" CornerRadius="10" Padding="5" Name="btnSearchBg" >
                        <Border.Background>
                            <!--<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                    <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                    <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                </LinearGradientBrush>-->
                            <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                <GradientStop Color="#2c78c9" Offset="0"/> 
                                <GradientStop Color="#2263a9" Offset="0.48"/>
                                <GradientStop Color="#2c78c9" Offset="1.0"/>
                            </LinearGradientBrush>
                        </Border.Background>
                        <Grid  Margin="1"  >
                            <!--<Grid.Background>
                                -->
                            <!--<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                    <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                    <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                </LinearGradientBrush>-->
                            <!--
                                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                    <GradientStop Color="#2c78c9" Offset="0"/>
                                    <GradientStop Color="#2263a9" Offset="0.48"/>
                                    <GradientStop Color="#2c78c9" Offset="1.0"/>
                                </LinearGradientBrush>
                            </Grid.Background>-->
                            <!--<Image  Source="pack://siteoforigin:,,,/Resources/BtnSelect.png" Width="30" Height="30" Margin="20,0,20,0"></Image>-->
                            <ContentPresenter  HorizontalAlignment="Center" VerticalAlignment="Center"  Content="{TemplateBinding Button.Content}"></ContentPresenter>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <!--<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                        -->
                                    <!--<GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                        <GradientStop Color="#304C8e" Offset="0.8"></GradientStop>-->
                                    <!--
                                    </LinearGradientBrush>-->
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#61d3f9" Offset="0"/>
                                        <GradientStop Color="#56d0f8" Offset="0.48"/>
                                        <GradientStop Color="#61d3f9" Offset="1.0"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                        <!--<GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                        <GradientStop Color="#304C8e" Offset="0.8"></GradientStop>-->
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- 窗体操作按钮-->
    <Style x:Key="FormFunBtnstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="Black"></Setter>
        <Setter Property="FontSize" Value="12"></Setter>
        <Setter Property="MinWidth" Value="85"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="#fda03c" BorderThickness="2" CornerRadius="5">
                        <DockPanel    Name="btnSearchBg">
                            <DockPanel.Background >
                                <SolidColorBrush Color="#fda03c" />
                            </DockPanel.Background>
                            <Border Margin="5" CornerRadius="5" Background="#fac083">
                                <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"  TextWrapping="Wrap" Text="{TemplateBinding Button.Content}"></TextBlock>
                            </Border>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- 窗体操作按钮-->
    <Style x:Key="FormCarBtnstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="Black"></Setter>
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="MinWidth" Value="85"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="#fcb03b" BorderThickness="2" CornerRadius="0">
                        <DockPanel    Name="btnSearchBg">
                            <DockPanel.Background >
                                <SolidColorBrush Color="#fcb03b" />
                            </DockPanel.Background>
                            <Border Margin="5" CornerRadius="5" Background="#fac083">
                                <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"  TextWrapping="Wrap" Text="{TemplateBinding Button.Content}"></TextBlock>
                            </Border>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <!--<Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>-->

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!-- 窗体操作按钮-->
    <Style x:Key="FormBtnXXstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="Black"></Setter>
        <Setter Property="FontSize" Value="12"></Setter>
        <Setter Property="MinWidth" Value="85"></Setter>
        <Setter Property="Height" Value="40"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="#fda03c" BorderThickness="2" CornerRadius="5">
                        <DockPanel    Name="btnSearchBg">
                            <DockPanel.Background >
                                <SolidColorBrush Color="#fd3a4b" />
                            </DockPanel.Background>
                            <Border Margin="5" CornerRadius="5" Background="#f7828c">
                                <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center"   Text="{TemplateBinding Button.Content}"></TextBlock>
                            </Border>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="FormBtnXXSelectStyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="Black"></Setter>
        <Setter Property="FontSize" Value="12"></Setter>
        <Setter Property="MinWidth" Value="85"></Setter>
        <Setter Property="Height" Value="40"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="#99FF66" BorderThickness="2" CornerRadius="5">
                        <DockPanel    Name="btnSearchBg">
                            <DockPanel.Background >
                                <SolidColorBrush Color="#99FF66" />
                            </DockPanel.Background>
                            <Border Margin="5" CornerRadius="5" Background="#fac083">
                                <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center"   Text="{TemplateBinding Button.Content}"></TextBlock>
                            </Border>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="FormFunXXBtnstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="16"></Setter>
        <Setter Property="MinWidth" Value="120"></Setter>
        <Setter Property="Height" Value="40"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="Transparent" BorderThickness="1" CornerRadius="5">
                        <DockPanel    Name="btnSearchBg">
                            <DockPanel.Background >
                                <SolidColorBrush Color="#1fb08e" />
                            </DockPanel.Background>
                            <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center"   Text="{TemplateBinding Button.Content}"></TextBlock>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="FormFunBackBtnstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="16"></Setter>
        <Setter Property="MinWidth" Value="120"></Setter>
        <Setter Property="Height" Value="40"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="Transparent" BorderThickness="1" CornerRadius="5">
                        <DockPanel    Name="btnSearchBg">
                            <DockPanel.Background >
                                <SolidColorBrush Color="#c12647" />
                            </DockPanel.Background>
                            <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center"   Text="{TemplateBinding Button.Content}"></TextBlock>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#fd4858" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#c12647" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#fd4858" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#c12647" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!-- GRID中操作按钮-->
    <Style x:Key="GridBtnstyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="16"></Setter>
        <Setter Property="Width" Value="80"></Setter>
        <Setter Property="Height" Value="25"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="White" BorderThickness="1" CornerRadius="3">
                        <DockPanel  Margin="1"  Name="btnSearchBg">
                            <DockPanel.Background>
                                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                    <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                    <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                </LinearGradientBrush>
                            </DockPanel.Background>
                            <!--<Image  Source="pack://siteoforigin:,,,/Resources/BtnSelect.png" Width="30" Height="30" Margin="20,0,20,0"></Image>-->
                            <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center"  Text="{TemplateBinding Button.Content}"></TextBlock>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                        <!--<GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                        <GradientStop Color="#304C8e" Offset="0.8"></GradientStop>-->
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                        <!--<GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                        <GradientStop Color="#304C8e" Offset="0.8"></GradientStop>-->
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- 窗体大操作按钮-->
    <Style x:Key="FormBigBtnStyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="16"></Setter>
        <Setter Property="Width" Value="150"></Setter>
        <Setter Property="Height" Value="122"></Setter>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="Transparent" BorderThickness="1" CornerRadius="3">
                        <DockPanel Name="btnSearchBg">
                            <DockPanel.Background>
                                <SolidColorBrush Color="#7a848c">

                                </SolidColorBrush>
                            </DockPanel.Background>
                            <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center"  Text="{TemplateBinding Button.Content}"></TextBlock>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>

                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="ButtonBase.IsPressed" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <SolidColorBrush Color="#5caee2">

                                    </SolidColorBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>                      
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="FormBigBtnFocusStyle"  TargetType="Button" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="16"></Setter>
        <Setter Property="Width" Value="150"></Setter>
        <Setter Property="Height" Value="122"></Setter>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="Transparent" BorderThickness="1" CornerRadius="3">
                        <DockPanel Name="btnSearchBg">
                            <DockPanel.Background>
                                <SolidColorBrush Color="#5caee2">

                                </SolidColorBrush>
                            </DockPanel.Background>
                            <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center"  Text="{TemplateBinding Button.Content}"></TextBlock>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>

                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="ButtonBase.IsPressed" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <SolidColorBrush Color="#5caee2">

                                    </SolidColorBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>                      
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>
  