85 lines
2.5 KiB
XML
85 lines
2.5 KiB
XML
<UserControl
|
|
x:Class="_29WxOrderWpf.Views.ChangePickNoView"
|
|
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:local="clr-namespace:_29WxOrderWpf.Views"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
x:Name="changePickNoView"
|
|
Width="450"
|
|
Height="300"
|
|
d:DesignHeight="300"
|
|
d:DesignWidth="450"
|
|
Loaded="ChangeWaybillView_Loaded"
|
|
mc:Ignorable="d">
|
|
<Grid Background="White">
|
|
<StackPanel Margin="24,24,24,0">
|
|
<TextBlock
|
|
Margin="0,0,0,20"
|
|
HorizontalAlignment="Center"
|
|
FontSize="15"
|
|
Foreground="#333333"
|
|
Text="添加/更改取件码" />
|
|
|
|
<StackPanel>
|
|
<TextBlock
|
|
Margin="0,0,0,8"
|
|
Foreground="#555555"
|
|
Text="填写取件码:" />
|
|
<TextBox
|
|
x:Name="txtPickNo"
|
|
Height="38"
|
|
VerticalContentAlignment="Center"
|
|
d:Text="1111"
|
|
BorderBrush="#D0D0D0"
|
|
BorderThickness="1"
|
|
FontSize="18"
|
|
Text="{Binding PickNo, UpdateSourceTrigger=PropertyChanged}"
|
|
VerticalScrollBarVisibility="Auto" />
|
|
<WrapPanel Margin="0,10,0,0" FlowDirection="RightToLeft">
|
|
<Button
|
|
Width="72"
|
|
Height="26"
|
|
Margin="0,0,10,0"
|
|
HorizontalAlignment="Right"
|
|
Click="Button_Click_1"
|
|
Command="{Binding ChangePickNoCommand}"
|
|
Content="修改取件码"
|
|
Style="{StaticResource BasePageButtonStyle}" />
|
|
<Image
|
|
x:Name="imgLoading"
|
|
Width="20"
|
|
Height="20"
|
|
IsEnabled="False"
|
|
Source="{StaticResource imgLoadingPic}"
|
|
Visibility="{Binding IsChangeingPickNo, Converter={StaticResource visibleToVisibilityConverter}}">
|
|
<Image.RenderTransform>
|
|
<RotateTransform Angle="45" CenterX="10" CenterY="10" />
|
|
</Image.RenderTransform>
|
|
<Image.Triggers>
|
|
<EventTrigger RoutedEvent="Image.Loaded">
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<DoubleAnimation
|
|
RepeatBehavior="Forever"
|
|
Storyboard.TargetName="imgLoading"
|
|
Storyboard.TargetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)"
|
|
From="360"
|
|
To="0"
|
|
Duration="0:0:3" />
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</EventTrigger>
|
|
</Image.Triggers>
|
|
</Image>
|
|
</WrapPanel>
|
|
|
|
<TextBlock
|
|
d:Text="如有需要,显示消息"
|
|
Text=""
|
|
TextWrapping="Wrap" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl>
|