<Window x:Class="SlnMesnac.WPF.Page.InputDialogWindow"
        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="300" Width="900" 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>
            <StackPanel  VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
                <TextBlock Text="最小重量阈值:" FontSize="25" VerticalAlignment="Center" Width="200" Margin="0,0,20,0" Foreground="Black" HorizontalAlignment="Left"/>
                <TextBox  x:Name="MinWeightTxt"  Width="100" FontSize="25"  VerticalAlignment="Center" Margin="0,0,20,0" Foreground="Black" BorderThickness="3" BorderBrush="Black"/>
                <TextBlock Text="最大重量阈值:" FontSize="25" VerticalAlignment="Center" Width="200" Margin="0,0,20,0" Foreground="Black" HorizontalAlignment="Left"/>
                <TextBox  x:Name="MaxWeightTxt"  Width="100" FontSize="25"  VerticalAlignment="Center" Margin="0,0,20,0" Foreground="Black" BorderThickness="3" BorderBrush="Black"/>
                <Button  x:Name="MaxWeightChangeButton" Style="{StaticResource  BUTTON_AGREE}"  Content="数量调整"  FontSize="30" Background="Green" Width="180"  Height="60"  Margin="0 0 20 0" HorizontalAlignment="Left" Click="MaxWeightChangeButton_Click" />
            </StackPanel>
            <StackPanel    Margin="80 150 0 0" VerticalAlignment="Center" >
                <TextBlock Text="提示信息:  缓存区重量超过最大值，设备将会自动停止！" FontSize="25" Width="600" Margin="0,0,20,0" Foreground="Yellow" HorizontalAlignment="Left"/>
                
            </StackPanel>
        </Grid>
    </Border>
    
</Window>
