|
@@ -5,6 +5,8 @@
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:help="clr-namespace:PDF_Master.Helper"
|
|
xmlns:help="clr-namespace:PDF_Master.Helper"
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
|
|
+ xmlns:convert="clr-namespace:PDF_Master.DataConvert"
|
|
|
|
+
|
|
xmlns:local="clr-namespace:PDF_Master.Views.Dialog.ServiceDialog"
|
|
xmlns:local="clr-namespace:PDF_Master.Views.Dialog.ServiceDialog"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:prism="http://prismlibrary.com/"
|
|
xmlns:prism="http://prismlibrary.com/"
|
|
@@ -13,6 +15,7 @@
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
mc:Ignorable="d">
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<UserControl.Resources>
|
|
|
|
+ <convert:LoginBordVis x:Key="LoginBordVis" />
|
|
<Style x:Key="EyeCheckbox" TargetType="CheckBox">
|
|
<Style x:Key="EyeCheckbox" TargetType="CheckBox">
|
|
<Setter Property="Cursor" Value="Hand" />
|
|
<Setter Property="Cursor" Value="Hand" />
|
|
<Setter Property="Template">
|
|
<Setter Property="Template">
|
|
@@ -96,6 +99,7 @@
|
|
</Trigger>
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
|
|
+ <Setter TargetName="border" Property="Effect" Value="{StaticResource shadow.blue-0-4}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
<DataTrigger Binding="{Binding Path=LoginPassword}" Value="">
|
|
<DataTrigger Binding="{Binding Path=LoginPassword}" Value="">
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
@@ -152,6 +156,7 @@
|
|
</Trigger>
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
|
|
+ <Setter TargetName="border" Property="Effect" Value="{StaticResource shadow.blue-0-4}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
<DataTrigger Binding="{Binding Path=LoginPassword2}" Value="">
|
|
<DataTrigger Binding="{Binding Path=LoginPassword2}" Value="">
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
@@ -208,6 +213,7 @@
|
|
</Trigger>
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
|
|
+ <Setter TargetName="border" Property="Effect" Value="{StaticResource shadow.blue-0-4}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
<DataTrigger Binding="{Binding Path=LoginPassword}" Value="">
|
|
<DataTrigger Binding="{Binding Path=LoginPassword}" Value="">
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
@@ -264,6 +270,7 @@
|
|
</Trigger>
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
|
|
+ <Setter TargetName="border" Property="Effect" Value="{StaticResource shadow.blue-0-4}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
<DataTrigger Binding="{Binding Path=LoginPassword}" Value="">
|
|
<DataTrigger Binding="{Binding Path=LoginPassword}" Value="">
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
@@ -320,6 +327,7 @@
|
|
</Trigger>
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
|
|
+ <Setter TargetName="border" Property="Effect" Value="{StaticResource shadow.blue-0-4}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
<DataTrigger Binding="{Binding Path=LoginPassword2}" Value="">
|
|
<DataTrigger Binding="{Binding Path=LoginPassword2}" Value="">
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
@@ -376,6 +384,7 @@
|
|
</Trigger>
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
<Setter TargetName="border" Property="BorderBrush" Value="#FF569DE5" />
|
|
|
|
+ <Setter TargetName="border" Property="Effect" Value="{StaticResource shadow.blue-0-4}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
<DataTrigger Binding="{Binding Path=LoginEmail}" Value="">
|
|
<DataTrigger Binding="{Binding Path=LoginEmail}" Value="">
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
<Setter TargetName="markText" Property="Visibility" Value="Visible" />
|
|
@@ -411,6 +420,7 @@
|
|
<StackPanel>
|
|
<StackPanel>
|
|
<TextBlock
|
|
<TextBlock
|
|
Height="28"
|
|
Height="28"
|
|
|
|
+ Width="Auto"
|
|
HorizontalAlignment="Left"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Top"
|
|
VerticalAlignment="Top"
|
|
FontFamily="Segoe UI"
|
|
FontFamily="Segoe UI"
|
|
@@ -418,16 +428,17 @@
|
|
FontStyle="Normal"
|
|
FontStyle="Normal"
|
|
FontWeight="SemiBold"
|
|
FontWeight="SemiBold"
|
|
Text="{Binding Text_passuodata}" />
|
|
Text="{Binding Text_passuodata}" />
|
|
- <Grid
|
|
|
|
|
|
+ <Grid Margin="0,32,0,0">
|
|
|
|
+ <Grid
|
|
Width="262"
|
|
Width="262"
|
|
Height="32"
|
|
Height="32"
|
|
- Margin="0,32,0,0"
|
|
|
|
|
|
+
|
|
VerticalAlignment="Center">
|
|
VerticalAlignment="Center">
|
|
- <Grid.ColumnDefinitions>
|
|
|
|
- <ColumnDefinition />
|
|
|
|
- <ColumnDefinition Width="24" />
|
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
|
- <PasswordBox
|
|
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition />
|
|
|
|
+ <ColumnDefinition Width="24" />
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
+ <PasswordBox
|
|
x:Name="Text_RePassword2"
|
|
x:Name="Text_RePassword2"
|
|
Grid.ColumnSpan="2"
|
|
Grid.ColumnSpan="2"
|
|
help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg2, Mode=TwoWay}"
|
|
help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg2, Mode=TwoWay}"
|
|
@@ -436,7 +447,7 @@
|
|
PreviewTextInput="TextBox_PreviewTextInput"
|
|
PreviewTextInput="TextBox_PreviewTextInput"
|
|
Style="{StaticResource LoginPasswordBoxStyle2}"
|
|
Style="{StaticResource LoginPasswordBoxStyle2}"
|
|
Visibility="{Binding LoginPasswordVisibility2, Mode=TwoWay}" />
|
|
Visibility="{Binding LoginPasswordVisibility2, Mode=TwoWay}" />
|
|
- <TextBox
|
|
|
|
|
|
+ <TextBox
|
|
|
|
|
|
Grid.ColumnSpan="2"
|
|
Grid.ColumnSpan="2"
|
|
help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg2, Mode=TwoWay}"
|
|
help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg2, Mode=TwoWay}"
|
|
@@ -445,14 +456,14 @@
|
|
Style="{StaticResource LoginPasswordTextBoxStyle2}"
|
|
Style="{StaticResource LoginPasswordTextBoxStyle2}"
|
|
Text="{Binding LoginPassword2, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Text="{Binding LoginPassword2, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Visibility="{Binding LoginTextVisibility2, Mode=TwoWay}">
|
|
Visibility="{Binding LoginTextVisibility2, Mode=TwoWay}">
|
|
- <i:Interaction.Triggers>
|
|
|
|
- <i:EventTrigger EventName="TextChanged">
|
|
|
|
- <i:InvokeCommandAction Command="{Binding LoginPasswordChanged2Command}" />
|
|
|
|
- </i:EventTrigger>
|
|
|
|
- </i:Interaction.Triggers>
|
|
|
|
- </TextBox>
|
|
|
|
|
|
+ <i:Interaction.Triggers>
|
|
|
|
+ <i:EventTrigger EventName="TextChanged">
|
|
|
|
+ <i:InvokeCommandAction Command="{Binding LoginPasswordChanged2Command}" />
|
|
|
|
+ </i:EventTrigger>
|
|
|
|
+ </i:Interaction.Triggers>
|
|
|
|
+ </TextBox>
|
|
|
|
|
|
- <CheckBox
|
|
|
|
|
|
+ <CheckBox
|
|
x:Name="DisplayLoginPasswordChk2"
|
|
x:Name="DisplayLoginPasswordChk2"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
Height="16"
|
|
Height="16"
|
|
@@ -463,23 +474,34 @@
|
|
Style="{StaticResource EyeCheckbox}"
|
|
Style="{StaticResource EyeCheckbox}"
|
|
Visibility="{Binding ChkVis2}" />
|
|
Visibility="{Binding ChkVis2}" />
|
|
|
|
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border
|
|
|
|
+ BorderBrush="#F3465B"
|
|
|
|
+ BorderThickness="1"
|
|
|
|
+ CornerRadius="4"
|
|
|
|
+ Effect="{StaticResource shadow.red-0-4}"
|
|
|
|
+ Visibility="{Binding ElementName=Textbl_pass1, Path=Text, Converter={StaticResource LoginBordVis}}" />
|
|
</Grid>
|
|
</Grid>
|
|
|
|
+
|
|
|
|
+
|
|
<TextBlock
|
|
<TextBlock
|
|
|
|
+ x:Name="Textbl_pass1"
|
|
Grid.ColumnSpan="2"
|
|
Grid.ColumnSpan="2"
|
|
Width="262"
|
|
Width="262"
|
|
Height="20"
|
|
Height="20"
|
|
Margin="0,2,0,0"
|
|
Margin="0,2,0,0"
|
|
Foreground="#F3465B"
|
|
Foreground="#F3465B"
|
|
Text="{Binding LoginPasswordlook2, Mode=TwoWay}" />
|
|
Text="{Binding LoginPasswordlook2, Mode=TwoWay}" />
|
|
- <Grid
|
|
|
|
|
|
+ <Grid Margin="0,8,0,0">
|
|
|
|
+ <Grid
|
|
Width="262"
|
|
Width="262"
|
|
Height="32"
|
|
Height="32"
|
|
- Margin="0,8,0,0">
|
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
|
- <ColumnDefinition />
|
|
|
|
- <ColumnDefinition Width="24" />
|
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
|
- <PasswordBox
|
|
|
|
|
|
+ >
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition />
|
|
|
|
+ <ColumnDefinition Width="24" />
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
+ <PasswordBox
|
|
Grid.ColumnSpan="2"
|
|
Grid.ColumnSpan="2"
|
|
help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg, Mode=TwoWay}"
|
|
help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg, Mode=TwoWay}"
|
|
help:PasswordBoxHelper.Password="{Binding LoginPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
help:PasswordBoxHelper.Password="{Binding LoginPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
@@ -487,7 +509,7 @@
|
|
PreviewTextInput="TextBox_PreviewTextInput"
|
|
PreviewTextInput="TextBox_PreviewTextInput"
|
|
Style="{StaticResource LoginPasswordBoxStyle}"
|
|
Style="{StaticResource LoginPasswordBoxStyle}"
|
|
Visibility="{Binding LoginPasswordVisibility, Mode=TwoWay}" />
|
|
Visibility="{Binding LoginPasswordVisibility, Mode=TwoWay}" />
|
|
- <TextBox
|
|
|
|
|
|
+ <TextBox
|
|
Grid.ColumnSpan="2"
|
|
Grid.ColumnSpan="2"
|
|
help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg, Mode=TwoWay}"
|
|
help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg, Mode=TwoWay}"
|
|
InputMethod.IsInputMethodEnabled="False"
|
|
InputMethod.IsInputMethodEnabled="False"
|
|
@@ -495,13 +517,13 @@
|
|
Style="{StaticResource LoginPasswordTextBoxStyle}"
|
|
Style="{StaticResource LoginPasswordTextBoxStyle}"
|
|
Text="{Binding LoginPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Text="{Binding LoginPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Visibility="{Binding LoginTextVisibility, Mode=TwoWay}">
|
|
Visibility="{Binding LoginTextVisibility, Mode=TwoWay}">
|
|
- <i:Interaction.Triggers>
|
|
|
|
- <i:EventTrigger EventName="TextChanged">
|
|
|
|
- <i:InvokeCommandAction Command="{Binding LoginPasswordChangedCommand}" />
|
|
|
|
- </i:EventTrigger>
|
|
|
|
- </i:Interaction.Triggers>
|
|
|
|
- </TextBox>
|
|
|
|
- <CheckBox
|
|
|
|
|
|
+ <i:Interaction.Triggers>
|
|
|
|
+ <i:EventTrigger EventName="TextChanged">
|
|
|
|
+ <i:InvokeCommandAction Command="{Binding LoginPasswordChangedCommand}" />
|
|
|
|
+ </i:EventTrigger>
|
|
|
|
+ </i:Interaction.Triggers>
|
|
|
|
+ </TextBox>
|
|
|
|
+ <CheckBox
|
|
x:Name="DisplayLoginPasswordChk"
|
|
x:Name="DisplayLoginPasswordChk"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
Height="16"
|
|
Height="16"
|
|
@@ -511,8 +533,19 @@
|
|
CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
|
|
CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
|
|
Style="{StaticResource EyeCheckbox}"
|
|
Style="{StaticResource EyeCheckbox}"
|
|
Visibility="{Binding ChkVis}" />
|
|
Visibility="{Binding ChkVis}" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border
|
|
|
|
+ BorderBrush="#F3465B"
|
|
|
|
+ BorderThickness="1"
|
|
|
|
+ CornerRadius="4"
|
|
|
|
+ Effect="{StaticResource shadow.red-0-4}"
|
|
|
|
+ Visibility="{Binding ElementName=Textbl_pass2, Path=Text, Converter={StaticResource LoginBordVis}}" />
|
|
</Grid>
|
|
</Grid>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
<TextBlock
|
|
<TextBlock
|
|
|
|
+ x:Name="Textbl_pass2"
|
|
Width="262"
|
|
Width="262"
|
|
Height="20"
|
|
Height="20"
|
|
Margin="0,4,0,0"
|
|
Margin="0,4,0,0"
|
|
@@ -529,13 +562,15 @@
|
|
Style="{StaticResource Btn.cta}" />
|
|
Style="{StaticResource Btn.cta}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
+
|
|
|
|
+
|
|
<Grid
|
|
<Grid
|
|
Width="326"
|
|
Width="326"
|
|
Height="82"
|
|
Height="82"
|
|
VerticalAlignment="Bottom"
|
|
VerticalAlignment="Bottom"
|
|
Background="#FDC7C6"
|
|
Background="#FDC7C6"
|
|
Visibility="{Binding PasswordUpdatalookVis}">
|
|
Visibility="{Binding PasswordUpdatalookVis}">
|
|
- <WrapPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
|
+ <WrapPanel HorizontalAlignment="Left" VerticalAlignment="Center" Margin="9,0,0,0">
|
|
<Border
|
|
<Border
|
|
Width="14"
|
|
Width="14"
|
|
Height="14"
|
|
Height="14"
|
|
@@ -548,6 +583,7 @@
|
|
Fill="White" />
|
|
Fill="White" />
|
|
</Border>
|
|
</Border>
|
|
<TextBlock
|
|
<TextBlock
|
|
|
|
+ Margin="9,0,0,0"
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontFamily="Segoe UI"
|
|
FontFamily="Segoe UI"
|