<UserControl x:Class="SlnMesnac.WPF.Page.LocationPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:SlnMesnac.WPF.Page"
             mc:Ignorable="d" 
          
             d:DesignHeight="750" d:DesignWidth="1920" Background="Transparent"
             >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="10 0 0 0">
            <ComboBox x:Name="WareHouseId"  Width="148" Height="50" FontSize="25" SelectionChanged="WarehouseChanged"/>
            <Button Content="刷新"  Foreground="White" Height="50" Margin="5" FontSize="25"  Width="132"  Click="Refulsh_Click">
                <Button.Template >
                    <ControlTemplate TargetType="{x:Type Button}" >
                        <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="4,4,4,4">
                            <Border.Background>#346DFF</Border.Background>
                            <ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
                        </Border>
                    </ControlTemplate>
                </Button.Template>
            </Button>

            <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="900 0 0 0">
                <Rectangle  Width="50" Height="50" Fill="#75F76D" />
                <TextBlock Text=" 有库存" FontSize="30"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="30 0 0 0">
                <Rectangle  Width="50" Height="50" Fill="#4789AE" />
                <TextBlock Text=" 空库位" FontSize="30"/>
            </StackPanel>
        </StackPanel>
        <Grid Grid.Row="1" x:Name="LocaltionGrid">

        </Grid>
       </Grid>
</UserControl>
