<Window x:Class="SlnMesnac.WPF.Page.BagsAmountSetWindow"
        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:SlnMesnac.WPF.Page"
        mc:Ignorable="d"
        Title="数量修改" Height="350" Width="600" WindowStartupLocation="CenterScreen"  Background="Blue">
    <Border Margin="5" Background="LightGoldenrodYellow" CornerRadius="10">
        <Border.Effect>
            <DropShadowEffect Color="LightGoldenrodYellow" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
        </Border.Effect>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="2*"/>
                <RowDefinition Height="2*"/>
            </Grid.RowDefinitions>

            <TextBlock Grid.Row="0" Text="包装袋余量修改" FontSize="26" HorizontalAlignment="Center" VerticalAlignment="Center"/>
              
            <Border Grid.Row="1"  BorderThickness="2" CornerRadius="5"  Margin="10">
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock Text="数量:" FontSize="25" VerticalAlignment="Center" Width="50" Margin="0,0,20,0" Foreground="Green" HorizontalAlignment="Left"/>
                    <TextBlock  x:Name="BagsAmountTxt" Text="0"   Width="80" FontSize="25" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="Green"/>
                </StackPanel>
            </Border>

            <Border Grid.Row="2"  BorderThickness="2" CornerRadius="5"  Margin="10">
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                    <Button   Style="{StaticResource  BUTTON_AGREE}"  FontSize="30" Background="LimeGreen" Width="100"  Height="50"  Margin="0 0 20 0" Click="StartButton_Click"  Content="+1"   Tag="+1"/>
                    <Button   Style="{StaticResource  BUTTON_AGREE}"  FontSize="30" Background="LimeGreen" Width="100"  Height="50"  Margin="0 0 20 0" Click="StartButton_Click"  Content="+10"  Tag="+10"/>
                    <Button   Style="{StaticResource  BUTTON_AGREE}"  FontSize="30" Background="LimeGreen" Width="100"  Height="50"  Margin="0 0 20 0" Click="StartButton_Click"  Content="+50"  Tag="+50"/>
                    <Button   Style="{StaticResource  BUTTON_AGREE}"   FontSize="30" Background="LimeGreen" Width="100"  Height="50"  Margin="0 0 20 0" Click="StartButton_Click" Content="+100" Tag="+100"/>
                </StackPanel>
            </Border>

            <Border Grid.Row="3"  BorderThickness="2" CornerRadius="5"  Margin="10">
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                    <Button   Style="{StaticResource  BUTTON_AGREE}" FontSize="30"   Background="#E4B74C" Width="100"  Height="50"  Margin="0 0 20 0" Click="StartButton_Click"  Content="-1"   Tag="-1"  />
                    <Button   Style="{StaticResource  BUTTON_AGREE}"  FontSize="30"  Background="#E4B74C" Width="100"  Height="50"  Margin="0 0 20 0" Click="StartButton_Click"  Content="-10"  Tag="-10" />
                    <Button   Style="{StaticResource  BUTTON_AGREE}"  FontSize="30"  Background="#E4B74C" Width="100"  Height="50"  Margin="0 0 20 0" Click="StartButton_Click"  Content="-50"  Tag="-50" />
                    <Button   Style="{StaticResource  BUTTON_AGREE}"   FontSize="30" Background="#E4B74C" Width="100"  Height="50"  Margin="0 0 20 0" Click="StartButton_Click"  Content="-100" Tag="-100"/>
                </StackPanel>
            </Border>
            <!--<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,0">
                <Button Content="确 认" FontSize="16" Style="{StaticResource  BUTTON_AGREE}"  Width="100" Height="30" Background="#FF36B5C1" BorderBrush="#FF36B5C1" Margin="0,0,10,0"  />
                <Button Content="取 消" FontSize="16" Style="{StaticResource  BUTTON_AGREE}"  Width="100" Height="30" Background="Blue" BorderBrush="Blue" Margin="10,0,0,0"  />
            </StackPanel>-->
        </Grid>
    </Border>
    
</Window>
