complete login function and login window also add attached properties and helper classes for securestring
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Security;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
|
||||
@@ -6,10 +7,13 @@ namespace Server_Dashboard {
|
||||
/// <summary>
|
||||
/// Interaction logic for LoginWindow.xaml
|
||||
/// </summary>
|
||||
public partial class LoginWindow : Window {
|
||||
public partial class LoginWindow : Window, IHavePassword {
|
||||
public LoginWindow() {
|
||||
InitializeComponent();
|
||||
DataContext = new LoginViewModel();
|
||||
}
|
||||
|
||||
public SecureString SecurePassword => Password.SecurePassword;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user