74 lines
4.7 KiB
XML
74 lines
4.7 KiB
XML
<Window x:Class="HighWay.PrintLable.CommodityPrompt"
|
|
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="CommodityPrompt" Height="227" Width="450" WindowStyle="None" AllowsTransparency="True" Background="Transparent" WindowState="Maximized"
|
|
WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Topmost="True" ShowInTaskbar="False" KeyDown="Window_KeyDown_1">
|
|
<Grid>
|
|
<Grid Background="Black" Opacity="0.3"></Grid>
|
|
<!--<Button Opacity="0.01" Click="Button_Click_1" Background="#FFCDCDCD"></Button>-->
|
|
<Grid Style="{DynamicResource xMSYH}" Height="227" Width="450" HorizontalAlignment="Center" VerticalAlignment="Center" Background="White">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="45" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" x:Name="Grid_title" Background="#2c303c">
|
|
<Grid>
|
|
<TextBlock Text="系统提示" TextAlignment="Center" FontSize="22" VerticalAlignment="Center"
|
|
Margin="100,10" x:Name="txt_title" Style="{DynamicResource TextTitle}"/>
|
|
<Button Style="{StaticResource ResourceKey=ButtonClose}" Click="Button_Click" x:Name="btn_close" Margin="385,0,0,0">
|
|
<Button.Background>
|
|
<ImageBrush ImageSource="/Image/PrintLable/退出1.png" Stretch="None" AlignmentX="Right">
|
|
<ImageBrush.Transform>
|
|
<TransformGroup>
|
|
<ScaleTransform/>
|
|
<SkewTransform/>
|
|
<RotateTransform/>
|
|
<TranslateTransform X="-12"/>
|
|
</TransformGroup>
|
|
</ImageBrush.Transform>
|
|
</ImageBrush>
|
|
</Button.Background>
|
|
</Button>
|
|
</Grid>
|
|
</Border>
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="57*"/>
|
|
<RowDefinition Height="125*"/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock TextAlignment="Center" FontSize="20" VerticalAlignment="Center" Margin="10,18,10,9" x:Name="txt_prompt" Foreground="Black" Height="30"></TextBlock>
|
|
<Button Margin="49,10.518,241,45" Content="确认[Enter]" FontSize="18" Click="Button_Click" x:Name="btn_sure" Foreground="White" Style="{StaticResource ResourceKey=ButtonPay}" Grid.Row="1">
|
|
<Button.Template>
|
|
<ControlTemplate>
|
|
<Image Source="/Image/PrintLable/确认.png"></Image>
|
|
</ControlTemplate>
|
|
</Button.Template>
|
|
</Button>
|
|
<TextBlock Text="确认[Enter]" Margin="49,79.518,241,21" TextAlignment="Center" FontSize="16" x:Name="TxtEnter" Grid.Row="1"></TextBlock>
|
|
<Button Margin="145,10.518,145,21" Content="确认" Visibility="Collapsed" Click="Button_Click" x:Name="btn_ok" Style="{StaticResource ResourceKey=ButtonPay}" Grid.Row="1">
|
|
<Button.Template>
|
|
<ControlTemplate>
|
|
<Grid>
|
|
<Image Source="/Image/PrintLable/确认.png" Margin="0,0,0,24"></Image>
|
|
<TextBlock Text="确认" TextAlignment="Center" FontSize="16" Margin="0,69,0,0"></TextBlock>
|
|
</Grid>
|
|
</ControlTemplate>
|
|
</Button.Template>
|
|
</Button>
|
|
<Button Margin="241,10.518,49,45" Content="取消[Esc]" FontSize="18" Click="Button_Click" x:Name="btn_cancel" Foreground="White" Style="{StaticResource ResourceKey=ButtonPay}" Grid.Row="1">
|
|
<Button.Template>
|
|
<ControlTemplate>
|
|
<Image Source="/Image/PrintLable/取消.png"></Image>
|
|
</ControlTemplate>
|
|
</Button.Template>
|
|
</Button>
|
|
<TextBlock Text="取消[Esc]" Margin="241,79.518,49,21" FontSize="16" TextAlignment="Center" x:Name="TxtEsc" Grid.Row="1"></TextBlock>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|