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

@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\LoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCF5079F8AC1784378A490329B2D27B8A3CCECFD"
#pragma checksum "..\..\..\LoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DF7FEA542AE21C1D71DCD21AA55E8BDD50DAC57A"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@@ -47,7 +47,15 @@ namespace Server_Dashboard {
public partial class LoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 53 "..\..\..\LoginWindow.xaml"
#line 8 "..\..\..\LoginWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal Server_Dashboard.LoginWindow Login;
#line default
#line hidden
#line 55 "..\..\..\LoginWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox UserName;
@@ -55,7 +63,7 @@ namespace Server_Dashboard {
#line hidden
#line 64 "..\..\..\LoginWindow.xaml"
#line 66 "..\..\..\LoginWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock PasswordHint;
@@ -63,7 +71,7 @@ namespace Server_Dashboard {
#line hidden
#line 65 "..\..\..\LoginWindow.xaml"
#line 67 "..\..\..\LoginWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.PasswordBox Password;
@@ -91,6 +99,13 @@ namespace Server_Dashboard {
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
@@ -101,12 +116,15 @@ namespace Server_Dashboard {
switch (connectionId)
{
case 1:
this.UserName = ((System.Windows.Controls.TextBox)(target));
this.Login = ((Server_Dashboard.LoginWindow)(target));
return;
case 2:
this.PasswordHint = ((System.Windows.Controls.TextBlock)(target));
this.UserName = ((System.Windows.Controls.TextBox)(target));
return;
case 3:
this.PasswordHint = ((System.Windows.Controls.TextBlock)(target));
return;
case 4:
this.Password = ((System.Windows.Controls.PasswordBox)(target));
return;
}