<Window x:Class="SlnMesnac.WPF.Page.RecipeManageSetWindow"
        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="550" Width="600" WindowStartupLocation="CenterScreen"  Background="#73B0F5">
    <Border Margin="5" Background="Transparent" 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="5*"/>
                <RowDefinition Height="2*"/>
            </Grid.RowDefinitions>

            <TextBlock Grid.Row="0" Text="配方修改" FontSize="26" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            <Grid Grid.Row="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock Text="拆包机螺旋1频率:" FontSize="20" VerticalAlignment="Center" Width="170" Margin="0,0,20,0" />
                    <TextBox  x:Name="UnpackSpiral1Txt"  Width="80" Text="0" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" />
                </StackPanel>
                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock Text="拆包机螺旋2频率:" FontSize="20" VerticalAlignment="Center" Width="170" Margin="0,0,20,0" />
                    <TextBox  x:Name="UnpackSpiral2Txt" Width="80" Text="0" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" />
                </StackPanel>
                <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock Text="烘干机螺旋频率:" FontSize="20" VerticalAlignment="Center" Width="170" Margin="0,0,20,0" />
                    <TextBox  x:Name="DryerSpiralTxt" Width="80" Text="0" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" />
                </StackPanel>
                <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock Text="螺旋机螺旋1频率:" FontSize="20" VerticalAlignment="Center" Width="170" Margin="0,0,20,0" />
                    <TextBox  x:Name="Spiral1Txt" Width="80" Text="0" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" />
                </StackPanel>
                <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock Text="螺旋机螺旋2频率:" FontSize="20" VerticalAlignment="Center" Width="170" Margin="0,0,20,0" />
                    <TextBox  x:Name="Spiral2Txt" Width="80" Text="0" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" />
                </StackPanel>
            </Grid>

            <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,0">
                <Button Content="确 认" x:Name="ConfirmButton" FontSize="16" Style="{StaticResource  BUTTON_AGREE}"  Width="100" Height="30" Background="#FF36B5C1" BorderBrush="#FF36B5C1" Margin="0,0,10,0" Click="ConfirmButton_Click"  />
                <Button Content="取 消" x:Name="CancelButton" FontSize="16" Style="{StaticResource  BUTTON_AGREE}"  Width="100" Height="30" Background="#E4B74C" BorderBrush="Blue" Margin="10,0,0,0" Click="CancelButton_Click"   />
            </StackPanel>
        </Grid>
    </Border>
    
</Window>
