|
|
<Window
|
|
|
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:cc="clr-namespace:CowOutputClient"
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
mc:Ignorable="d"
|
|
|
x:Class="CowOutputClient.SelectedProductWindow"
|
|
|
Title="SelectedProductWindow" Height="550" Width="702.6" Loaded="Window_Loaded" WindowStyle="None" AllowsTransparency="True" Background="#0fff" WindowStartupLocation="CenterScreen" >
|
|
|
<Grid MouseLeftButtonDown="Grid_MouseLeftButtonDown">
|
|
|
<Border CornerRadius="20" Background="#ccc" >
|
|
|
<Border Margin="20" Background="White">
|
|
|
|
|
|
|
|
|
</Border>
|
|
|
</Border>
|
|
|
<TextBox x:Name="txtSearchCode" TextWrapping="Wrap" Width="270" Height="32"
|
|
|
Margin="30,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="20"
|
|
|
TextChanged="TxtSearchCode_TextChanged"/>
|
|
|
<Button Focusable="False" Content="清空" x:Name="btnClear" Click="btnClear_Click" FontSize="15" Margin="0,20,337.4,0" Width="50" Height="32" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
|
|
|
<Grid Name="Grid2" Margin="30,20,0,0" Width="470" Height="100" HorizontalAlignment="Left" VerticalAlignment="Top">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="27*"/>
|
|
|
<ColumnDefinition Width="67*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
<ScrollViewer x:Name="scrList2" Margin="0,38,0.4,-30" VerticalScrollBarVisibility="Auto" Grid.ColumnSpan="2">
|
|
|
<WrapPanel Name="ProductCatalogPanel" ItemHeight="45" ItemWidth="110" Width="{Binding ElementName=scrList, Path=Width, Mode=OneWay}" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top">
|
|
|
<!--
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn4" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn3" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn2" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn5" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn6" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn8" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn9" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn10" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn11" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn12" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn13" FontSize="20" Margin="10,10,0,0" />
|
|
|
<Button Focusable="False" Content="鲜品" Name="btn14" FontSize="20" Margin="10,10,0,0" />-->
|
|
|
</WrapPanel>
|
|
|
</ScrollViewer>
|
|
|
</Grid>
|
|
|
|
|
|
<Button Focusable="False" Content="设置顺序" Name="btnSequence" Click="btnSequence_Click_1" FontSize="15" Margin="0,58,74.4,0" Width="70" Height="45" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
<Button Focusable="False" Content="保存" Name="btnSave" Click="btnSave_Click_1" FontSize="15" Margin="0,58,149.4,0" Width="50" Height="45" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
<Button Focusable="False" Content="关闭" Name="btnClose" Click="btnClose_Click_1" FontSize="15" Margin="0,58,22.4,0" Width="50" Height="45" HorizontalAlignment="Right" VerticalAlignment="Top" />
|
|
|
<Button Focusable="False" Content="备份" x:Name="btnBackup" Click="btnBackup_Click_1" FontSize="15" Margin="0,107,149.4,0" Width="50" Height="45" HorizontalAlignment="Right" VerticalAlignment="Top" RenderTransformOrigin="-0.664,0.434" />
|
|
|
<Button Focusable="False" Content="恢复" Name="btnRestore" Click="btnRestore_Click_1" FontSize="15" Margin="0,107,22.4,0" Width="50" Height="45" HorizontalAlignment="Right" VerticalAlignment="Top" RenderTransformOrigin="0.902,0.411" />
|
|
|
|
|
|
<Grid Name="Grid1" Margin="30,176,0,0" Width="650" Height="360" HorizontalAlignment="Left" VerticalAlignment="Top">
|
|
|
<Border BorderThickness="1" BorderBrush="Black" Margin="-9,-22,0,10">
|
|
|
</Border>
|
|
|
<ScrollViewer x:Name="scrList" Margin="0,-22,0,10" VerticalScrollBarVisibility="Auto">
|
|
|
<!--<WrapPanel Name="CatalogDetails" ItemHeight="45" ItemWidth="110" Width="350" Height="540" >-->
|
|
|
<WrapPanel Name="CatalogDetails" ItemHeight="50" ItemWidth="160" Margin="0" Width="{Binding ElementName=scrList, Path=Width, Mode=OneWay}">
|
|
|
</WrapPanel>
|
|
|
</ScrollViewer>
|
|
|
</Grid>
|
|
|
|
|
|
</Grid>
|
|
|
</Window>
|
|
|
|
|
|
|