|
|
@@ -1,4 +1,4 @@ |
|
|
|
<hc:Window |
|
|
|
<Window |
|
|
|
x:Class="HKCardIN.Views.RootView" |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
@@ -13,11 +13,9 @@ |
|
|
|
Width="800" |
|
|
|
Height="420" |
|
|
|
d:DataContext="{d:DesignInstance Type=viewModels:RootViewModel}" |
|
|
|
ShowMaxButton="False" |
|
|
|
ShowTitle="True" |
|
|
|
WindowStartupLocation="CenterScreen" |
|
|
|
mc:Ignorable="d"> |
|
|
|
<hc:Window.Resources> |
|
|
|
mc:Ignorable="d" ResizeMode="CanMinimize"> |
|
|
|
<Window.Resources> |
|
|
|
<Style |
|
|
|
x:Key="充值" |
|
|
|
BasedOn="{StaticResource ButtonDefault}" |
|
|
@@ -44,11 +42,15 @@ |
|
|
|
TargetType="TextBlock"> |
|
|
|
<Setter Property="Foreground" Value="WhiteSmoke" /> |
|
|
|
</Style> |
|
|
|
</hc:Window.Resources> |
|
|
|
<hc:Window.Background> |
|
|
|
</Window.Resources> |
|
|
|
<Window.Background> |
|
|
|
<ImageBrush ImageSource="/HKResouces/背景.jpg" /> |
|
|
|
</hc:Window.Background> |
|
|
|
<hc:Window.InputBindings> |
|
|
|
</Window.Background> |
|
|
|
<Window.InputBindings> |
|
|
|
<KeyBinding |
|
|
|
Key="E" |
|
|
|
Command="{s:Action UnLockAction}" |
|
|
|
CommandParameter="{Binding ., ElementName=Pwd}" /> |
|
|
|
<KeyBinding |
|
|
|
Key="F1" |
|
|
|
Command="{s:Action InputAction}" |
|
|
@@ -66,31 +68,27 @@ |
|
|
|
Command="{s:Action InputAction}" |
|
|
|
CommandParameter="500" /> |
|
|
|
<KeyBinding Key="F5" Command="{s:Action LockSreenAction}" /> |
|
|
|
</hc:Window.InputBindings> |
|
|
|
</Window.InputBindings> |
|
|
|
<Grid> |
|
|
|
<StackPanel |
|
|
|
HorizontalAlignment="Center" |
|
|
|
VerticalAlignment="Center" |
|
|
|
Visibility="{Binding CodeVisible}"> |
|
|
|
<TextBox |
|
|
|
<hc:PasswordBox |
|
|
|
x:Name="Pwd" |
|
|
|
Width="200" |
|
|
|
hc:InfoElement.Placeholder="请输入解锁码" |
|
|
|
Style="{StaticResource TextBoxExtend}" |
|
|
|
Text="{Binding LockCode}" /> |
|
|
|
hc:PasswordBoxAttach.PasswordLength="20" |
|
|
|
ShowClearButton="True" |
|
|
|
Style="{StaticResource PasswordBoxPlusBaseStyle}" /> |
|
|
|
<WrapPanel Margin="0,10,0,0" HorizontalAlignment="Center"> |
|
|
|
<Button |
|
|
|
Width="60" |
|
|
|
Width="70" |
|
|
|
Height="40" |
|
|
|
Margin="0,0,10,0" |
|
|
|
Command="{s:Action UnLockAction}" |
|
|
|
Content="确定" |
|
|
|
FontSize="15" /> |
|
|
|
<Button |
|
|
|
Width="60" |
|
|
|
Height="40" |
|
|
|
Margin="10,0,0,0" |
|
|
|
Command="{s:Action ResetAction}" |
|
|
|
Content="取消" |
|
|
|
CommandParameter="{Binding ., ElementName=Pwd}" |
|
|
|
Content="确定[E]" |
|
|
|
FontSize="15" /> |
|
|
|
</WrapPanel> |
|
|
|
</StackPanel> |
|
|
@@ -307,4 +305,4 @@ |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</hc:Window> |
|
|
|
</Window> |