|
@@ -4,9 +4,10 @@
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:help="clr-namespace:PDF_Office.Helper"
|
|
xmlns:help="clr-namespace:PDF_Office.Helper"
|
|
|
|
+ xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:local="clr-namespace:PDF_Office.Views.Dialog.ServiceDialog"
|
|
xmlns:local="clr-namespace:PDF_Office.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:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
|
|
|
|
+ xmlns:prism="http://prismlibrary.com/"
|
|
Width="326"
|
|
Width="326"
|
|
Height="420"
|
|
Height="420"
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
@@ -385,154 +386,168 @@
|
|
</Setter>
|
|
</Setter>
|
|
</Style>
|
|
</Style>
|
|
</UserControl.Resources>
|
|
</UserControl.Resources>
|
|
- <Grid>
|
|
|
|
- <Grid Background="White">
|
|
|
|
- <TextBlock
|
|
|
|
- Width="141"
|
|
|
|
- Height="28"
|
|
|
|
- Margin="32,48,0,0"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- VerticalAlignment="Top"
|
|
|
|
- FontFamily="Segoe UI"
|
|
|
|
- FontSize="20"
|
|
|
|
- FontStyle="Normal"
|
|
|
|
- FontWeight="SemiBold"
|
|
|
|
- Text="Reset password" />
|
|
|
|
-
|
|
|
|
- <Grid
|
|
|
|
- Width="262"
|
|
|
|
- Height="32"
|
|
|
|
- Margin="32,108,0,0"
|
|
|
|
|
|
+ <Grid Background="White">
|
|
|
|
+ <Button
|
|
|
|
+ Width="16"
|
|
|
|
+ Height="16"
|
|
|
|
+ Margin="287,17,0,0"
|
|
HorizontalAlignment="Left"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Top"
|
|
VerticalAlignment="Top"
|
|
- IsEnabled="{Binding ElementName=LoginPasswordChk2, Path=IsChecked}">
|
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
|
- <ColumnDefinition />
|
|
|
|
- <ColumnDefinition Width="24" />
|
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
|
- <PasswordBox
|
|
|
|
- Grid.ColumnSpan="2"
|
|
|
|
- help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg2, Mode=TwoWay}"
|
|
|
|
- help:PasswordBoxHelper.Password="{Binding LoginPassword2, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
- Style="{StaticResource LoginPasswordBoxStyle2}"
|
|
|
|
- Visibility="{Binding LoginPasswordVisibility2, Mode=TwoWay}" />
|
|
|
|
- <TextBox
|
|
|
|
- x:Name="Text_RePassword2"
|
|
|
|
- Grid.ColumnSpan="2"
|
|
|
|
- help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg2, Mode=TwoWay}"
|
|
|
|
- Style="{StaticResource LoginPasswordTextBoxStyle2}"
|
|
|
|
- Text="{Binding LoginPassword2, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
- Visibility="{Binding LoginTextVisibility2, Mode=TwoWay}" >
|
|
|
|
- <i:Interaction.Triggers>
|
|
|
|
- <i:EventTrigger EventName="TextChanged">
|
|
|
|
- <i:InvokeCommandAction Command="{Binding LoginPasswordChanged2Command}" />
|
|
|
|
- </i:EventTrigger>
|
|
|
|
- </i:Interaction.Triggers>
|
|
|
|
- </TextBox>
|
|
|
|
-
|
|
|
|
- <CheckBox
|
|
|
|
- x:Name="DisplayLoginPasswordChk2"
|
|
|
|
- Grid.Column="1"
|
|
|
|
- Height="16"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- Panel.ZIndex="1"
|
|
|
|
- Visibility="{Binding ChkVis2}"
|
|
|
|
- Command="{Binding DisplayPasswordCommand2}"
|
|
|
|
- CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
|
|
|
|
- IsChecked="{Binding IsLoginPasswordDisplayed2, Mode=TwoWay}"
|
|
|
|
- Style="{StaticResource EyeCheckbox}" />
|
|
|
|
-
|
|
|
|
- </Grid>
|
|
|
|
- <TextBlock
|
|
|
|
- Width="262"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="32,142,0,0"
|
|
|
|
- Foreground="#F3465B"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- VerticalAlignment="Top"
|
|
|
|
- Text="{Binding LoginPasswordlook2, Mode=TwoWay}" Grid.ColumnSpan="2" />
|
|
|
|
- <Grid
|
|
|
|
|
|
+ Background="Transparent"
|
|
|
|
+ BorderThickness="0"
|
|
|
|
+ Command="{Binding CloseDialogCommand}"
|
|
|
|
+ WindowChrome.IsHitTestVisibleInChrome="True">
|
|
|
|
+ <Polygon Fill="{StaticResource color.btn.sec.text.def}" Points="11.2919922 12 12 11.2919922 6.70800781 6 12 0.708007813 11.2919922 0 6 5.29199219 0.708007812 9.76996262e-15 -2.27456942e-13 0.708007813 5.29199219 6 0 11.2919922 0.708007812 12 6 6.70800781" />
|
|
|
|
+ </Button>
|
|
|
|
+ <Grid
|
|
Width="262"
|
|
Width="262"
|
|
- Height="32"
|
|
|
|
- Margin="32,170,0,0"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- VerticalAlignment="Top"
|
|
|
|
- IsEnabled="{Binding ElementName=LoginPasswordChk, Path=IsChecked}">
|
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
|
- <ColumnDefinition />
|
|
|
|
- <ColumnDefinition Width="24" />
|
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
|
- <PasswordBox
|
|
|
|
- Grid.ColumnSpan="2"
|
|
|
|
- help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg, Mode=TwoWay}"
|
|
|
|
- help:PasswordBoxHelper.Password="{Binding LoginPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
- Style="{StaticResource LoginPasswordBoxStyle}"
|
|
|
|
- Visibility="{Binding LoginPasswordVisibility, Mode=TwoWay}" />
|
|
|
|
- <TextBox
|
|
|
|
- Grid.ColumnSpan="2"
|
|
|
|
- help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg, Mode=TwoWay}"
|
|
|
|
- Style="{StaticResource LoginPasswordTextBoxStyle}"
|
|
|
|
- Text="{Binding LoginPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
- Visibility="{Binding LoginTextVisibility, Mode=TwoWay}" >
|
|
|
|
- <i:Interaction.Triggers>
|
|
|
|
- <i:EventTrigger EventName="TextChanged">
|
|
|
|
- <i:InvokeCommandAction Command="{Binding LoginPasswordChangedCommand}" />
|
|
|
|
- </i:EventTrigger>
|
|
|
|
- </i:Interaction.Triggers>
|
|
|
|
- </TextBox>
|
|
|
|
- <CheckBox
|
|
|
|
- x:Name="DisplayLoginPasswordChk"
|
|
|
|
- Grid.Column="1"
|
|
|
|
- Height="16"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- Panel.ZIndex="1"
|
|
|
|
- Visibility="{Binding ChkVis}"
|
|
|
|
- Command="{Binding DisplayPasswordCommand}"
|
|
|
|
- CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
|
|
|
|
- IsChecked="{Binding IsLoginPasswordDisplayed, Mode=TwoWay}"
|
|
|
|
- Style="{StaticResource EyeCheckbox}" />
|
|
|
|
- </Grid>
|
|
|
|
- <TextBlock
|
|
|
|
- Width="262"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="32,212,0,0"
|
|
|
|
- Foreground="#F3465B"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- VerticalAlignment="Top"
|
|
|
|
- Text="{Binding LoginPasswordlook, Mode=TwoWay}" />
|
|
|
|
-
|
|
|
|
|
|
+ Margin="0,48,0,0"
|
|
|
|
+ HorizontalAlignment="Center"
|
|
|
|
+ VerticalAlignment="Top">
|
|
|
|
+ <StackPanel>
|
|
|
|
+ <TextBlock
|
|
|
|
+ Height="28"
|
|
|
|
+ HorizontalAlignment="Left"
|
|
|
|
+ VerticalAlignment="Top"
|
|
|
|
+ FontFamily="Segoe UI"
|
|
|
|
+ FontSize="20"
|
|
|
|
+ FontStyle="Normal"
|
|
|
|
+ FontWeight="SemiBold"
|
|
|
|
+ Text="Reset password" />
|
|
|
|
+ <Grid
|
|
|
|
+ Width="262"
|
|
|
|
+ Height="32"
|
|
|
|
+ Margin="0,32,0,0"
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
+ IsEnabled="{Binding ElementName=LoginPasswordChk2, Path=IsChecked}">
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition />
|
|
|
|
+ <ColumnDefinition Width="24" />
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
+ <PasswordBox
|
|
|
|
+ Grid.ColumnSpan="2"
|
|
|
|
+ help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg2, Mode=TwoWay}"
|
|
|
|
+ help:PasswordBoxHelper.Password="{Binding LoginPassword2, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ Style="{StaticResource LoginPasswordBoxStyle2}"
|
|
|
|
+ Visibility="{Binding LoginPasswordVisibility2, Mode=TwoWay}" />
|
|
|
|
+ <TextBox
|
|
|
|
+ x:Name="Text_RePassword2"
|
|
|
|
+ Grid.ColumnSpan="2"
|
|
|
|
+ help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg2, Mode=TwoWay}"
|
|
|
|
+ Style="{StaticResource LoginPasswordTextBoxStyle2}"
|
|
|
|
+ Text="{Binding LoginPassword2, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ Visibility="{Binding LoginTextVisibility2, Mode=TwoWay}">
|
|
|
|
+ <i:Interaction.Triggers>
|
|
|
|
+ <i:EventTrigger EventName="TextChanged">
|
|
|
|
+ <i:InvokeCommandAction Command="{Binding LoginPasswordChanged2Command}" />
|
|
|
|
+ </i:EventTrigger>
|
|
|
|
+ </i:Interaction.Triggers>
|
|
|
|
+ </TextBox>
|
|
|
|
|
|
|
|
+ <CheckBox
|
|
|
|
+ x:Name="DisplayLoginPasswordChk2"
|
|
|
|
+ Grid.Column="1"
|
|
|
|
+ Height="16"
|
|
|
|
+ HorizontalAlignment="Left"
|
|
|
|
+ Panel.ZIndex="1"
|
|
|
|
+ Command="{Binding DisplayPasswordCommand2}"
|
|
|
|
+ CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
|
|
|
|
+ IsChecked="{Binding IsLoginPasswordDisplayed2, Mode=TwoWay}"
|
|
|
|
+ Style="{StaticResource EyeCheckbox}"
|
|
|
|
+ Visibility="{Binding ChkVis2}" />
|
|
|
|
|
|
-
|
|
|
|
- <Button
|
|
|
|
- Width="262"
|
|
|
|
- Height="32"
|
|
|
|
- Margin="32,240,0,0"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- VerticalAlignment="Top"
|
|
|
|
- Command="{Binding PasswordUpdataCommand}"
|
|
|
|
- Content="OK"
|
|
|
|
- IsEnabled="{Binding EnableNextStep, Mode=TwoWay}"
|
|
|
|
- Style="{StaticResource Btn.cta}" />
|
|
|
|
- <Grid
|
|
|
|
|
|
+ </Grid>
|
|
|
|
+ <TextBlock
|
|
|
|
+ Grid.ColumnSpan="2"
|
|
|
|
+ Width="262"
|
|
|
|
+ Height="20"
|
|
|
|
+ Margin="0,2,0,0"
|
|
|
|
+ Foreground="#F3465B"
|
|
|
|
+ Text="{Binding LoginPasswordlook2, Mode=TwoWay}" />
|
|
|
|
+ <Grid
|
|
|
|
+ Width="262"
|
|
|
|
+ Height="32"
|
|
|
|
+ Margin="0,8,0,0"
|
|
|
|
+ IsEnabled="{Binding ElementName=LoginPasswordChk, Path=IsChecked}">
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition />
|
|
|
|
+ <ColumnDefinition Width="24" />
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
+ <PasswordBox
|
|
|
|
+ Grid.ColumnSpan="2"
|
|
|
|
+ help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg, Mode=TwoWay}"
|
|
|
|
+ help:PasswordBoxHelper.Password="{Binding LoginPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ Style="{StaticResource LoginPasswordBoxStyle}"
|
|
|
|
+ Visibility="{Binding LoginPasswordVisibility, Mode=TwoWay}" />
|
|
|
|
+ <TextBox
|
|
|
|
+ Grid.ColumnSpan="2"
|
|
|
|
+ help:PasswordBoxHelper.DisplayText="{Binding LoginPasswordMsg, Mode=TwoWay}"
|
|
|
|
+ Style="{StaticResource LoginPasswordTextBoxStyle}"
|
|
|
|
+ Text="{Binding LoginPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ Visibility="{Binding LoginTextVisibility, Mode=TwoWay}">
|
|
|
|
+ <i:Interaction.Triggers>
|
|
|
|
+ <i:EventTrigger EventName="TextChanged">
|
|
|
|
+ <i:InvokeCommandAction Command="{Binding LoginPasswordChangedCommand}" />
|
|
|
|
+ </i:EventTrigger>
|
|
|
|
+ </i:Interaction.Triggers>
|
|
|
|
+ </TextBox>
|
|
|
|
+ <CheckBox
|
|
|
|
+ x:Name="DisplayLoginPasswordChk"
|
|
|
|
+ Grid.Column="1"
|
|
|
|
+ Height="16"
|
|
|
|
+ HorizontalAlignment="Left"
|
|
|
|
+ Panel.ZIndex="1"
|
|
|
|
+ Command="{Binding DisplayPasswordCommand}"
|
|
|
|
+ CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
|
|
|
|
+
|
|
|
|
+ Style="{StaticResource EyeCheckbox}"
|
|
|
|
+ Visibility="{Binding ChkVis}" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <TextBlock
|
|
|
|
+ Width="262"
|
|
|
|
+ Height="20"
|
|
|
|
+ Margin="0,4,0,0"
|
|
|
|
+ Foreground="#F3465B"
|
|
|
|
+ Text="{Binding LoginPasswordlook, Mode=TwoWay}" />
|
|
|
|
+ <Button
|
|
|
|
+ Width="262"
|
|
|
|
+ Height="32"
|
|
|
|
+ Margin="0,16,0,0"
|
|
|
|
+ Command="{Binding PasswordUpdataCommand}"
|
|
|
|
+ Content="OK"
|
|
|
|
+ IsEnabled="{Binding EnableNextStep, Mode=TwoWay}"
|
|
|
|
+ Style="{StaticResource Btn.cta}" />
|
|
|
|
+ </StackPanel>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid
|
|
Width="326"
|
|
Width="326"
|
|
Height="82"
|
|
Height="82"
|
|
- Margin="0,338,0,0"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- VerticalAlignment="Top"
|
|
|
|
- Visibility="{Binding PasswordUpdatalookVis}"
|
|
|
|
- Background="#FDC7C6" />
|
|
|
|
- <TextBlock
|
|
|
|
- Height="66"
|
|
|
|
- Width="286"
|
|
|
|
- Margin="32,346,0,0"
|
|
|
|
- HorizontalAlignment="Left"
|
|
|
|
- VerticalAlignment="Top"
|
|
|
|
- FontFamily="Segoe UI"
|
|
|
|
- FontSize="12"
|
|
|
|
- FontStyle="Normal"
|
|
|
|
- LineHeight="22"
|
|
|
|
- Text="{Binding PasswordUpdatamsglook}" />
|
|
|
|
|
|
+ VerticalAlignment="Bottom"
|
|
|
|
+ Background="#FDC7C6"
|
|
|
|
+ Visibility="{Binding PasswordUpdatalookVis}">
|
|
|
|
+ <WrapPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
+ <Border
|
|
|
|
+ Margin="-1,-4,0,0"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="14"
|
|
|
|
+ Background="#F3465B"
|
|
|
|
+ CornerRadius="100">
|
|
|
|
+ <Path
|
|
|
|
+ Margin="-1,-4,0,0"
|
|
|
|
+ Data="M7.25 8V13H8.75V8H7.25ZM7.25 14.5V16H8.75L8.75 14.5H7.25Z"
|
|
|
|
+ Fill="White" />
|
|
|
|
+ </Border>
|
|
|
|
+ <TextBlock
|
|
|
|
+ HorizontalAlignment="Center"
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
+ FontFamily="Segoe UI"
|
|
|
|
+ FontSize="12"
|
|
|
|
+ FontStyle="Normal"
|
|
|
|
+ LineHeight="22"
|
|
|
|
+ Text="{Binding PasswordUpdatamsglook}"
|
|
|
|
+ TextAlignment="Center"
|
|
|
|
+ TextWrapping="Wrap" />
|
|
|
|
+ </WrapPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
|