complete login function and login window also add attached properties and helper classes for securestring

This commit is contained in:
Rene Schwarz
2021-04-03 23:52:00 +02:00
parent 077f622115
commit a42f756d78
32 changed files with 377 additions and 37 deletions

View File

@@ -12,8 +12,8 @@
</RadialGradientBrush.GradientStops>
</RadialGradientBrush>
<BooleanToVisibilityConverter x:Key="UserNameVisibillity" />
<BooleanToVisibilityConverter x:Key="PasswordVisibillity" />
<BooleanToVisibilityConverter x:Key="UserNameVisibillity"/>
<BooleanToVisibilityConverter x:Key="PasswordVisibillity"/>
<SolidColorBrush x:Key="Background" Color="#141424"/>
<!--A700 Teal-->
@@ -26,6 +26,8 @@
<SolidColorBrush x:Key="Yellow" Color="#FFEB3B"/>
<!--700 Yellow-->
<SolidColorBrush x:Key="PressedYellow" Color="#FBC02D"/>
<!--800 Red-->
<SolidColorBrush x:Key="ErrorRed" Color="#c62828"/>
<Style x:Key="LoginViewBorder" TargetType="{x:Type Border}">
<Setter Property="BorderBrush" Value="#25AEA6"/>
@@ -141,5 +143,10 @@
</Setter.Value>
</Setter>
</Style>
<Style x:Key="ErrorMessage" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="14"/>
<Setter Property="Foreground" Value="{StaticResource ErrorRed}"/>
</Style>
</Application.Resources>
</Application>