WiChangeShelf.xaml 3.53 KB
<Window x:Class="XingYe_ACS.UI.WiChangeShelf"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStyle="None" AllowsTransparency="True" Background="Transparent"
        WindowStartupLocation="CenterScreen"
        Title="WiChangeShelf" Height="272" Width="381" Loaded="Window_Loaded">
    <Border Background="White" BorderThickness="1" BorderBrush="{StaticResource HHLGRed}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid  Name="Spl_title" Grid.Row="0" Grid.ColumnSpan="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition></RowDefinition>
                    <RowDefinition></RowDefinition>
                </Grid.RowDefinitions>
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
                           MouseLeftButtonDown="TextBlock_MouseLeftButtonDown"
                       Foreground="{StaticResource HHAst2}" FontSize="20">更改货架信息</TextBlock>
                <Button Name="BtnClose" Grid.Column="3" Background="{StaticResource HHLGRed}" Foreground="White"  Width="20" Margin="2" Click="BtnClose_Click">X</Button>
            </Grid>
            <StackPanel Height="2" Grid.Row="1" Background="{StaticResource HHLGRed}"></StackPanel>
            <TabControl Grid.Row="2"></TabControl>
            <StackPanel Height="2" Grid.Row="3" Background="{StaticResource HHLGRed}"></StackPanel>
            <TextBlock Grid.Row="4" FontSize="20" HorizontalAlignment="Center"
                       Foreground="{StaticResource HHAst2}">控制台系统</TextBlock>
            <Canvas Grid.Row="2">
                <TextBlock Canvas.Left="45" Canvas.Top="46">货架号:</TextBlock>
                <TextBox Name="TBox_ShelfNo" Width="200" Canvas.Left="119" Canvas.Top="44" IsReadOnly="True"></TextBox>
                <TextBlock Canvas.Left="45" Canvas.Top="70">固定码值:</TextBlock>
                <TextBox Name="TBox_ShelfBarcode" Width="200" Canvas.Left="119" Canvas.Top="69" IsReadOnly="True"></TextBox>
                <TextBlock Canvas.Left="45" Canvas.Top="95">当前码值:</TextBlock>
                <TextBox Name="TBox_ShelfCurrentBarcode" Width="200" Canvas.Left="119" Canvas.Top="94"></TextBox>
                <TextBlock Canvas.Left="45" Canvas.Top="120">货架方向:</TextBlock>
                <TextBox Name="TBox_OriShelf" Width="200" Canvas.Left="119" Canvas.Top="119"></TextBox>
                <TextBlock Canvas.Left="45" Canvas.Top="145">是否启用:</TextBlock>
                <TextBox Name="TBox_ShelfEnable" Width="200" Canvas.Left="119" Canvas.Top="144"></TextBox>
                <Button Name="Btn_Ok" Width="90" Canvas.Left="148" Canvas.Top="178" Background="{StaticResource HHLGRed}" Foreground="White" Click="Btn_Ok_Click">确定更改</Button>
            </Canvas>
        </Grid>
    </Border>
</Window>