-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PasswordCreation.xaml
21 lines (20 loc) · 1.4 KB
/
PasswordCreation.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<ContentDialog
x:Class="PassDefend.PasswordCreation"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:PassDefend"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="PassDefend - First time setup"
PrimaryButtonText="Set password"
CloseButtonText="Cancel"
PrimaryButtonClick="ContentDialog_PrimaryButtonClick"
CloseButtonClick="ContentDialog_CloseButtonClick">
<Grid>
<TextBlock Text="Welcome to PassDefend!
Please enter a new master password.
This password will be used to decrypt and open PassDefend." TextWrapping="Wrap" Margin="0,-3,0,3"/>
<TextBlock x:Name="noMatchText" Margin="0,36,0,-36" Foreground="Red" Visibility="Collapsed">Passwords do not match.</TextBlock>
<PasswordBox x:Name="changePasswordBoxMain" HorizontalAlignment="Center" Margin="0,62,0,0" VerticalAlignment="Top" Width="372" Background="#66FFFFFF" PlaceholderText="Enter your new master password" Height="32"/>
<PasswordBox x:Name="changePasswordBoxConfirm" HorizontalAlignment="Center" Margin="0,108,0,0" VerticalAlignment="Top" Width="372" Height="32" Background="#66FFFFFF" PlaceholderText="Re-enter the password, just for confirmation"/>
</Grid>
</ContentDialog>