2025-03-27 15:05:14 +08:00

95 lines
6.5 KiB
XML

<Window x:Class="HighWay.PrintLable.GoodsUpdate"
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:HighWay.PrintLable"
mc:Ignorable="d"
Title="GoodsUpdate" Height="280" Width="440" WindowStyle="None" WindowStartupLocation="CenterScreen" Topmost="False"
ResizeMode="NoResize" WindowState="Maximized" ShowInTaskbar="False" AllowsTransparency="True" Background="Transparent" KeyDown="Window_KeyDown">
<Grid>
<Grid Background="Black" Opacity="0.3">
<Button Opacity="0.01" Click="Button_Click_1" Background="#FFCDCDCD" />
</Grid>
<Grid Height="280" Width="440" Style="{DynamicResource xMSYH}"
HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid.Background>
<ImageBrush ImageSource="/Image/PrintLable/背景.png"/>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="45" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
<Image Source="/Image/PrintLable/标题.png" Stretch="None" Margin="0,0,10,0"/>
<TextBlock Text="商品信息修改" FontSize="18" Foreground="White" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<Image Source="/Image/PrintLable/标题.png" Stretch="None" Margin="10,0,0,0"></Image>
</StackPanel>
<Button Style="{DynamicResource ButtonPay}" Margin="0,0,20,0" Click="Button_Click"
HorizontalAlignment="Right" Height="35" Width="75" x:Name="btnClose">
<Button.Background>
<ImageBrush ImageSource="/Image/PrintLable/退出.png" Stretch="Uniform"/>
</Button.Background>
</Button>
</Grid>
<Grid Grid.Row="1">
<Border Margin="20,0,20,15" CornerRadius="5" Background="White">
<Border.Effect>
<DropShadowEffect ShadowDepth="0" BlurRadius="5" />
</Border.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="2*" />
<RowDefinition Height="2*" />
<RowDefinition Height="2*" />
<RowDefinition Height="2*" />
<RowDefinition Height="3*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="80" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="60" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="商品条码:" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right"/>
<TextBlock Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Margin="10,0,0,0"
FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Left" x:Name="txtBarCode"/>
<TextBlock Text="商品名称:" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Row="1"/>
<TextBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="4" Height="28" x:Name="txtGoodsName"
VerticalContentAlignment="Center" FontSize="16" VerticalAlignment="Center"
HorizontalAlignment="Left" Margin="10,0,0,0" Width="290" Background="#ecf4f9"/>
<TextBlock Text="单位:" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Row="2"/>
<TextBox Grid.Row="2" Grid.Column="1" FontSize="16" Height="28" Width="100"
VerticalContentAlignment="Center" VerticalAlignment="Center" x:Name="txtGoodsUnit"
HorizontalAlignment="Left" Margin="10,0,0,0" Background="#ecf4f9"/>
<TextBlock Text="规格:" FontSize="16" VerticalAlignment="Center"
HorizontalAlignment="Right" Grid.Row="2" Grid.Column="2"/>
<TextBox Grid.Row="2" Grid.Column="3" FontSize="16" Height="28" Width="100"
VerticalContentAlignment="Center" VerticalAlignment="Center" x:Name="txtGoodsRult"
HorizontalAlignment="Left" Margin="10,0,0,0" Background="#ecf4f9"/>
<TextBlock Text="会员价:" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Row="3"/>
<TextBox Grid.Row="3" Grid.Column="1" FontSize="16" Height="28" Width="100"
VerticalContentAlignment="Center" VerticalAlignment="Center" x:Name="txtMember"
HorizontalAlignment="Left" Margin="10,0,0,0" Background="#ecf4f9"/>
<TextBlock Text="售价:" FontSize="16" VerticalAlignment="Center"
HorizontalAlignment="Right" Grid.Row="3" Grid.Column="2"/>
<TextBox Grid.Row="3" Grid.Column="3" FontSize="16" Height="28" Width="100"
VerticalContentAlignment="Center" VerticalAlignment="Center" x:Name="txtPrice"
HorizontalAlignment="Left" Margin="10,0,0,0" Background="#ecf4f9"/>
<Button Grid.Row="4" Grid.ColumnSpan="4" VerticalAlignment="Center" Content="确认修改" Foreground="White" x:Name="btnEnter"
HorizontalAlignment="Center" Height="40" Width="110" Style="{DynamicResource ButtonPay}" FontSize="16" Click="Button_Click">
<Button.Background>
<ImageBrush ImageSource="/Image/PrintLable/btnbackground.png" />
</Button.Background>
</Button>
</Grid>
</Border>
</Grid>
</Grid>
</Grid>
</Window>