<Window x:Class="SlnMesnac.WPF.Page.MannulResignBoxWindow"
        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"
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        Title="CreateMoveWindow" Height="450" Width="800" Background="#062241" WindowStartupLocation="CenterScreen">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="0.2*" />
            <RowDefinition Height="0.6*" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TextBlock Text="手动入库" Foreground="White"  FontSize="25" HorizontalAlignment="Center" />
        <!-- 中间部分：两个 ComboBox -->
        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <!-- 起点 ComboBox -->
            <ComboBox x:Name="StartComboBox" Foreground="LimeGreen"
                  Grid.Column="0"
                  Margin="20"
                  FontSize="20"
                  VerticalAlignment="Center"
                  materialDesign:HintAssist.Hint="选择库位" />

            <!-- 终点 ComboBox -->
            <TextBox x:Name="BoxTextbox"  Foreground="LimeGreen"
                  Grid.Column="1"
                  Margin="20"
                  FontSize="20"
                  VerticalAlignment="Center"
                  materialDesign:HintAssist.Hint="在此输入箱子编号，如SHS000000030" />
        </Grid>

        <!-- 底部：确认按钮 -->
        <Button x:Name="ConfirmButton"
            Grid.Row="2"
            Content="确认"
            Width="200"
            Height="50"
            FontSize="20"
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Click="ConfirmButton_Click" />
        <TextBlock HorizontalAlignment="Left" Margin="59,10,0,0" Grid.Row="2" Foreground="Red" TextWrapping="Wrap" Text="注意：&#x0D;1.该功能为将库位信息直接写入数据库，并解锁该库位，非必要不要轻易使用！&#x0D; &#x0D; 2.使用手动入库前请务必结合平板确认现场库位信息，并保证小车不处于运行状态！" FontSize="17" VerticalAlignment="Top" Height="218" Width="194"/>
        <CheckBox x:Name="ForceWrite_CheckBox" Content="强制写入" Foreground="Red" HorizontalAlignment="Left" Margin="527,0,0,0" Grid.Row="2" VerticalAlignment="Center"/>
    </Grid>
</Window>