diff --git a/.vs/Server Dashboard/DesignTimeBuild/.dtbcache.v2 b/.vs/Server Dashboard/DesignTimeBuild/.dtbcache.v2
index 4ee9dd6..c888bd6 100644
Binary files a/.vs/Server Dashboard/DesignTimeBuild/.dtbcache.v2 and b/.vs/Server Dashboard/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/.vs/Server Dashboard/v16/.suo b/.vs/Server Dashboard/v16/.suo
index 3e9828e..2fb4c50 100644
Binary files a/.vs/Server Dashboard/v16/.suo and b/.vs/Server Dashboard/v16/.suo differ
diff --git a/Server Dashboard/App.config b/Server Dashboard/App.config
new file mode 100644
index 0000000..a4ef717
--- /dev/null
+++ b/Server Dashboard/App.config
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Server Dashboard/App.xaml b/Server Dashboard/App.xaml
index 938123c..e4da259 100644
--- a/Server Dashboard/App.xaml
+++ b/Server Dashboard/App.xaml
@@ -2,7 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Server_Dashboard"
- StartupUri="MainWindow.xaml">
+ StartupUri="LoginWindow.xaml">
@@ -12,6 +12,9 @@
+
+
+
@@ -23,22 +26,8 @@
-
-
+
+
-
-
-
-
+
+
+
+
+
+
diff --git a/Server Dashboard/AttachedProperty/BaseAttachedProperty.cs b/Server Dashboard/AttachedProperty/BaseAttachedProperty.cs
new file mode 100644
index 0000000..55ae5e3
--- /dev/null
+++ b/Server Dashboard/AttachedProperty/BaseAttachedProperty.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Windows;
+
+namespace Server_Dashboard {
+ public abstract class BaseAttachedProperty
+ where Parent : BaseAttachedProperty, new() {
+ public event Action ValueChanged = (sender, e) => { };
+ public static Parent Instance { get; private set; } = new Parent();
+ public static readonly DependencyProperty ValueProperty = DependencyProperty.RegisterAttached("Value", typeof(Property), typeof(BaseAttachedProperty), new PropertyMetadata(new PropertyChangedCallback(OnValuePropertyChanged)));
+ private static void OnValuePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) {
+ Instance.OnValueChanged(d, e);
+ Instance.ValueChanged(d, e);
+ }
+ public static Property GetValue(DependencyObject d) => (Property)d.GetValue(ValueProperty);
+ public static void SetValue(DependencyObject d, Property value) => d.SetValue(ValueProperty, value);
+ public virtual void OnValueChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { }
+ }
+}
diff --git a/Server Dashboard/AttachedProperty/PasswordBoxProperties.cs b/Server Dashboard/AttachedProperty/PasswordBoxProperties.cs
new file mode 100644
index 0000000..c564c2d
--- /dev/null
+++ b/Server Dashboard/AttachedProperty/PasswordBoxProperties.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+
+namespace Server_Dashboard {
+ public class MonitorPasswordProperty : BaseAttachedProperty {
+ public override void OnValueChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) {
+ var passwordBox = sender as PasswordBox;
+ if (passwordBox == null)
+ return;
+ passwordBox.PasswordChanged -= PasswordBox_PasswordChanged;
+
+ if ((bool)e.NewValue) {
+ HasTextProperty.SetValue(passwordBox);
+ passwordBox.PasswordChanged += PasswordBox_PasswordChanged;
+ }
+ }
+
+ private void PasswordBox_PasswordChanged(object sender, RoutedEventArgs e) {
+ HasTextProperty.SetValue((PasswordBox)sender);
+ }
+ }
+ public class HasTextProperty : BaseAttachedProperty {
+ public static void SetValue(DependencyObject sender) {
+ SetValue(sender, ((PasswordBox)sender).SecurePassword.Length < 1);
+ }
+ }
+}
diff --git a/Server Dashboard/Database/DatabaseHandler.cs b/Server Dashboard/Database/DatabaseHandler.cs
index 1b2bdf0..d7459e7 100644
--- a/Server Dashboard/Database/DatabaseHandler.cs
+++ b/Server Dashboard/Database/DatabaseHandler.cs
@@ -2,19 +2,37 @@
using System;
using System.Collections.Generic;
using System.Configuration;
+using System.Data;
using System.Data.SqlClient;
using System.Reflection;
namespace Server_Dashboard {
- class DatabaseHandler {
+ public static class DatabaseHandler {
+
+ public static bool CheckLogin(string uname, string passwd) {
+ string valid = "False";
+ ConnectToDatabase(con => {
+ string query = "EXEC ValidateUserLogin @Username = @uname, @Password = @passwd, @Valid = @valid OUTPUT";
+ using (SqlCommand com = new SqlCommand(query, con)) {
+ com.Parameters.AddWithValue("@uname", uname);
+ com.Parameters.AddWithValue("@passwd", passwd);
+ com.Parameters.Add("@valid", SqlDbType.NVarChar, 250);
+ com.Parameters["@valid"].Direction = ParameterDirection.Output;
+ com.ExecuteNonQuery();
+ valid = Convert.ToString(com.Parameters["@Valid"].Value);
+ }
+ });
+ return Convert.ToBoolean(valid);
+ }
+
#region Private methods
///
/// Opens a database connection
///
/// Callback type SqlConnection
///
- private SqlConnection ConnectToDatabase(Action callback) {
- using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["Co2AuswertungDB"].ConnectionString)) {
+ private static SqlConnection ConnectToDatabase(Action callback) {
+ using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ServerDashboardDB"].ConnectionString)) {
try {
con.Open();
callback(con);
diff --git a/Server Dashboard/LoginWindow.xaml b/Server Dashboard/LoginWindow.xaml
new file mode 100644
index 0000000..827960b
--- /dev/null
+++ b/Server Dashboard/LoginWindow.xaml
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Server Dashboard/LoginWindow.xaml.cs b/Server Dashboard/LoginWindow.xaml.cs
new file mode 100644
index 0000000..44c6287
--- /dev/null
+++ b/Server Dashboard/LoginWindow.xaml.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Security;
+using System.Windows;
+using System.Windows.Input;
+
+namespace Server_Dashboard {
+ ///
+ /// Interaction logic for LoginWindow.xaml
+ ///
+ public partial class LoginWindow : Window, IHavePassword {
+ public LoginWindow() {
+ InitializeComponent();
+ DataContext = new LoginViewModel();
+ }
+
+ public SecureString SecurePassword => Password.SecurePassword;
+
+ }
+}
diff --git a/Server Dashboard/MainWindow.xaml b/Server Dashboard/MainWindow.xaml
deleted file mode 100644
index 072d248..0000000
--- a/Server Dashboard/MainWindow.xaml
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Noch keinen Account? Klicke
-
- hier
-
- um einen zu erstellen!
-
-
-
-
- Passwort
-
- Vergessen?
-
-
-
-
-
-
-
diff --git a/Server Dashboard/MainWindow.xaml.cs b/Server Dashboard/MainWindow.xaml.cs
deleted file mode 100644
index d457891..0000000
--- a/Server Dashboard/MainWindow.xaml.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-
-namespace Server_Dashboard {
- ///
- /// Interaction logic for MainWindow.xaml
- ///
- public partial class MainWindow : Window {
- public MainWindow() {
- InitializeComponent();
- }
- }
-}
diff --git a/Server Dashboard/Security/SecureStringHelpers.cs b/Server Dashboard/Security/SecureStringHelpers.cs
new file mode 100644
index 0000000..800056b
--- /dev/null
+++ b/Server Dashboard/Security/SecureStringHelpers.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Runtime.InteropServices;
+using System.Security;
+using System.Text;
+
+namespace Server_Dashboard {
+ public static class SecureStringHelpers {
+ public static string Unsecure(this SecureString secureString) {
+ if (secureString == null)
+ return string.Empty;
+ var unmanagedString = IntPtr.Zero;
+
+ try {
+ unmanagedString = Marshal.SecureStringToGlobalAllocUnicode(secureString);
+ return Marshal.PtrToStringUni(unmanagedString);
+ } finally {
+ Marshal.ZeroFreeGlobalAllocUnicode(unmanagedString);
+ }
+ }
+ }
+}
diff --git a/Server Dashboard/Server Dashboard.csproj b/Server Dashboard/Server Dashboard.csproj
index 17eb043..b6f17d8 100644
--- a/Server Dashboard/Server Dashboard.csproj
+++ b/Server Dashboard/Server Dashboard.csproj
@@ -13,10 +13,7 @@
-
-
-
-
+
@@ -25,4 +22,8 @@
+
+
+
+
diff --git a/Server Dashboard/Server Dashboard.csproj.user b/Server Dashboard/Server Dashboard.csproj.user
index 644b0a6..7011a87 100644
--- a/Server Dashboard/Server Dashboard.csproj.user
+++ b/Server Dashboard/Server Dashboard.csproj.user
@@ -7,7 +7,7 @@
-
+
Designer
diff --git a/Server Dashboard/ViewModels/Interfaces/IHavePassword.cs b/Server Dashboard/ViewModels/Interfaces/IHavePassword.cs
new file mode 100644
index 0000000..9c82b1a
--- /dev/null
+++ b/Server Dashboard/ViewModels/Interfaces/IHavePassword.cs
@@ -0,0 +1,10 @@
+using System;
+using System.Collections.Generic;
+using System.Security;
+using System.Text;
+
+namespace Server_Dashboard {
+ public interface IHavePassword {
+ SecureString SecurePassword { get; }
+ }
+}
diff --git a/Server Dashboard/ViewModels/LoginViewModel.cs b/Server Dashboard/ViewModels/LoginViewModel.cs
new file mode 100644
index 0000000..752146c
--- /dev/null
+++ b/Server Dashboard/ViewModels/LoginViewModel.cs
@@ -0,0 +1,62 @@
+using System;
+using System.Collections.Generic;
+using System.Security;
+using System.Text;
+using System.Windows.Input;
+
+namespace Server_Dashboard {
+ class LoginViewModel : BaseViewModel {
+
+ private string username;
+
+ public string Username {
+ get { return username; }
+ set {
+ if (username != value)
+ username = value;
+ OnPropertyChanged(nameof(username));
+ }
+ }
+
+ private string errorText;
+
+ public string ErrorText {
+ get { return errorText; }
+ set {
+ if (errorText != value)
+ errorText = value;
+ OnPropertyChanged(nameof(errorText));
+ }
+ }
+
+
+ public LoginViewModel() {
+ LoginCommand = new RelayCommand(Login);
+ }
+
+ public ICommand LoginCommand { get; set; }
+
+ private void Login(object parameter) {
+ if (!String.IsNullOrWhiteSpace(Username) && !String.IsNullOrWhiteSpace((parameter as IHavePassword).SecurePassword.Unsecure())) {
+ if (DatabaseHandler.CheckLogin(Username, (parameter as IHavePassword).SecurePassword.Unsecure())) {
+ Console.WriteLine();
+ } else {
+ ErrorText = "Username or password is wrong.";
+ return;
+ }
+ } else if (String.IsNullOrWhiteSpace(Username) && String.IsNullOrWhiteSpace((parameter as IHavePassword).SecurePassword.Unsecure())) {
+ ErrorText = "Please provide a username and password";
+ return;
+ }
+ if (String.IsNullOrWhiteSpace(Username)) {
+ ErrorText = "Username cannot be empty.";
+ return;
+ }
+ if (String.IsNullOrWhiteSpace((parameter as IHavePassword).SecurePassword.Unsecure())) {
+ ErrorText = "Password cannot be empty.";
+ return;
+ }
+ ErrorText = "";
+ }
+ }
+}
diff --git a/Server Dashboard/bin/Debug/netcoreapp3.1/Microsoft.Xaml.Behaviors.dll b/Server Dashboard/bin/Debug/netcoreapp3.1/Microsoft.Xaml.Behaviors.dll
new file mode 100644
index 0000000..27fa5ea
Binary files /dev/null and b/Server Dashboard/bin/Debug/netcoreapp3.1/Microsoft.Xaml.Behaviors.dll differ
diff --git a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.deps.json b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.deps.json
index ee4e597..7f956ff 100644
--- a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.deps.json
+++ b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.deps.json
@@ -8,6 +8,7 @@
".NETCoreApp,Version=v3.1": {
"Server Dashboard/1.0.0": {
"dependencies": {
+ "Microsoft.Xaml.Behaviors.Wpf": "1.1.31",
"System.Data.SqlClient": "4.8.2"
},
"runtime": {
@@ -21,6 +22,14 @@
"System.Security.Principal.Windows": "4.7.0"
}
},
+ "Microsoft.Xaml.Behaviors.Wpf/1.1.31": {
+ "runtime": {
+ "lib/netcoreapp3.1/Microsoft.Xaml.Behaviors.dll": {
+ "assemblyVersion": "1.1.0.0",
+ "fileVersion": "1.1.31.10800"
+ }
+ }
+ },
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"dependencies": {
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
@@ -111,6 +120,13 @@
"path": "microsoft.win32.registry/4.7.0",
"hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512"
},
+ "Microsoft.Xaml.Behaviors.Wpf/1.1.31": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-LZpuf82ACZWldmfMuv3CTUMDh3o0xo0uHUaybR5HgqVLDBJJ9RZLykplQ/bTJd0/VDt3EhD4iDgUgbdIUAM+Kg==",
+ "path": "microsoft.xaml.behaviors.wpf/1.1.31",
+ "hashPath": "microsoft.xaml.behaviors.wpf.1.1.31.nupkg.sha512"
+ },
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"type": "package",
"serviceable": true,
diff --git a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll
index 8504735..f985fb4 100644
Binary files a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll and b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll differ
diff --git a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll.config b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll.config
new file mode 100644
index 0000000..a4ef717
--- /dev/null
+++ b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll.config
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.pdb b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.pdb
index d1da010..4a22dd2 100644
Binary files a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.pdb and b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.pdb differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/App.baml b/Server Dashboard/obj/Debug/netcoreapp3.1/App.baml
index 45edc3c..5b0e056 100644
Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/App.baml and b/Server Dashboard/obj/Debug/netcoreapp3.1/App.baml differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.cs
index 0778940..d5a0004 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.cs
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.cs
@@ -1,4 +1,4 @@
-#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CFAEA69073E0A9617DE983A1C17F812E8D11C797"
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "74B190EC288932EF98E3D09F645AFA4D89DB749F"
//------------------------------------------------------------------------------
//
// Dieser Code wurde von einem Tool generiert.
@@ -55,7 +55,7 @@ namespace Server_Dashboard {
_contentLoaded = true;
#line 5 "..\..\..\App.xaml"
- this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+ this.StartupUri = new System.Uri("LoginWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.i.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.i.cs
index 0778940..d5a0004 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.i.cs
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.i.cs
@@ -1,4 +1,4 @@
-#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CFAEA69073E0A9617DE983A1C17F812E8D11C797"
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "74B190EC288932EF98E3D09F645AFA4D89DB749F"
//------------------------------------------------------------------------------
//
// Dieser Code wurde von einem Tool generiert.
@@ -55,7 +55,7 @@ namespace Server_Dashboard {
_contentLoaded = true;
#line 5 "..\..\..\App.xaml"
- this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+ this.StartupUri = new System.Uri("LoginWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/GeneratedInternalTypeHelper.g.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/GeneratedInternalTypeHelper.g.cs
new file mode 100644
index 0000000..49b7571
--- /dev/null
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/GeneratedInternalTypeHelper.g.cs
@@ -0,0 +1,62 @@
+//------------------------------------------------------------------------------
+//
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.42000
+//
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
+//
+//------------------------------------------------------------------------------
+
+namespace XamlGeneratedNamespace {
+
+
+ ///
+ /// GeneratedInternalTypeHelper
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
+
+ ///
+ /// CreateInstance
+ ///
+ protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
+ return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
+ | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
+ }
+
+ ///
+ /// GetPropertyValue
+ ///
+ protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
+ return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
+ }
+
+ ///
+ /// SetPropertyValue
+ ///
+ protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
+ propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
+ }
+
+ ///
+ /// CreateDelegate
+ ///
+ protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
+ return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
+ | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
+ delegateType,
+ handler}, null)));
+ }
+
+ ///
+ /// AddEventHandler
+ ///
+ protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
+ eventInfo.AddEventHandler(target, handler);
+ }
+ }
+}
+
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/GeneratedInternalTypeHelper.g.i.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/GeneratedInternalTypeHelper.g.i.cs
new file mode 100644
index 0000000..49b7571
--- /dev/null
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/GeneratedInternalTypeHelper.g.i.cs
@@ -0,0 +1,62 @@
+//------------------------------------------------------------------------------
+//
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.42000
+//
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
+//
+//------------------------------------------------------------------------------
+
+namespace XamlGeneratedNamespace {
+
+
+ ///
+ /// GeneratedInternalTypeHelper
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
+
+ ///
+ /// CreateInstance
+ ///
+ protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
+ return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
+ | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
+ }
+
+ ///
+ /// GetPropertyValue
+ ///
+ protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
+ return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
+ }
+
+ ///
+ /// SetPropertyValue
+ ///
+ protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
+ propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
+ }
+
+ ///
+ /// CreateDelegate
+ ///
+ protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
+ return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
+ | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
+ delegateType,
+ handler}, null)));
+ }
+
+ ///
+ /// AddEventHandler
+ ///
+ protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
+ eventInfo.AddEventHandler(target, handler);
+ }
+ }
+}
+
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.baml b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.baml
new file mode 100644
index 0000000..e95a321
Binary files /dev/null and b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.baml differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.g.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.cs
similarity index 54%
rename from Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.g.cs
rename to Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.cs
index 3ee022b..ac3aca8 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.g.cs
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.cs
@@ -1,4 +1,4 @@
-#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9936019F8F4F36AA14CB7E4E5EF102427D7DACAB"
+#pragma checksum "..\..\..\LoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DF7FEA542AE21C1D71DCD21AA55E8BDD50DAC57A"
//------------------------------------------------------------------------------
//
// Dieser Code wurde von einem Tool generiert.
@@ -9,6 +9,11 @@
//
//------------------------------------------------------------------------------
+using Microsoft.Xaml.Behaviors;
+using Microsoft.Xaml.Behaviors.Core;
+using Microsoft.Xaml.Behaviors.Input;
+using Microsoft.Xaml.Behaviors.Layout;
+using Microsoft.Xaml.Behaviors.Media;
using Server_Dashboard;
using System;
using System.Diagnostics;
@@ -37,14 +42,38 @@ namespace Server_Dashboard {
///
- /// MainWindow
+ /// LoginWindow
///
- public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+ public partial class LoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
- #line 74 "..\..\..\MainWindow.xaml"
+ #line 8 "..\..\..\LoginWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock LoginErrorText;
+ 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;
+
+ #line default
+ #line hidden
+
+
+ #line 66 "..\..\..\LoginWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock PasswordHint;
+
+ #line default
+ #line hidden
+
+
+ #line 67 "..\..\..\LoginWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.PasswordBox Password;
#line default
#line hidden
@@ -61,15 +90,22 @@ namespace Server_Dashboard {
return;
}
_contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/mainwindow.xaml", System.UriKind.Relative);
+ System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/loginwindow.xaml", System.UriKind.Relative);
- #line 1 "..\..\..\MainWindow.xaml"
+ #line 1 "..\..\..\LoginWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#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)]
@@ -80,7 +116,16 @@ namespace Server_Dashboard {
switch (connectionId)
{
case 1:
- this.LoginErrorText = ((System.Windows.Controls.TextBlock)(target));
+ this.Login = ((Server_Dashboard.LoginWindow)(target));
+ return;
+ case 2:
+ 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;
}
this._contentLoaded = true;
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.i.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.i.cs
new file mode 100644
index 0000000..ac3aca8
--- /dev/null
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.i.cs
@@ -0,0 +1,135 @@
+#pragma checksum "..\..\..\LoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DF7FEA542AE21C1D71DCD21AA55E8BDD50DAC57A"
+//------------------------------------------------------------------------------
+//
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.42000
+//
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
+//
+//------------------------------------------------------------------------------
+
+using Microsoft.Xaml.Behaviors;
+using Microsoft.Xaml.Behaviors.Core;
+using Microsoft.Xaml.Behaviors.Input;
+using Microsoft.Xaml.Behaviors.Layout;
+using Microsoft.Xaml.Behaviors.Media;
+using Server_Dashboard;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Server_Dashboard {
+
+
+ ///
+ /// LoginWindow
+ ///
+ public partial class LoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #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;
+
+ #line default
+ #line hidden
+
+
+ #line 66 "..\..\..\LoginWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock PasswordHint;
+
+ #line default
+ #line hidden
+
+
+ #line 67 "..\..\..\LoginWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.PasswordBox Password;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/loginwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\..\LoginWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #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)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.Login = ((Server_Dashboard.LoginWindow)(target));
+ return;
+ case 2:
+ 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;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.baml b/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.baml
deleted file mode 100644
index 75489d9..0000000
Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.baml and /dev/null differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.g.i.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.g.i.cs
index c5c324a..57736c6 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.g.i.cs
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/MainWindow.g.i.cs
@@ -1,5 +1,4 @@
-// Updated by XamlIntelliSenseFileGenerator 01.04.2021 15:13:25
-#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9936019F8F4F36AA14CB7E4E5EF102427D7DACAB"
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CDEE2CA4F2AEFFC91F6C3FEBBD37081502AEA750"
//------------------------------------------------------------------------------
//
// Dieser Code wurde von einem Tool generiert.
@@ -35,18 +34,39 @@ using System.Windows.Shell;
namespace Server_Dashboard {
-
-
+
+
///
/// MainWindow
///
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
-
-#line default
-#line hidden
-
+
+
+ #line 41 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox UserName;
+
+ #line default
+ #line hidden
+
+
+ #line 52 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock PasswordHint;
+
+ #line default
+ #line hidden
+
+
+ #line 53 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.PasswordBox Password;
+
+ #line default
+ #line hidden
+
private bool _contentLoaded;
-
+
///
/// InitializeComponent
///
@@ -57,15 +77,15 @@ namespace Server_Dashboard {
return;
}
_contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/mainwindow.xaml", System.UriKind.Relative);
-
-#line 1 "..\..\..\MainWindow.xaml"
+ System.Uri resourceLocater = new System.Uri("/Server Dashboard;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
-
-#line default
-#line hidden
+
+ #line default
+ #line hidden
}
-
+
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
@@ -73,10 +93,39 @@ namespace Server_Dashboard {
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId) {
- case 1:
- this.LoginErrorText = ((System.Windows.Controls.TextBlock)(target));
- return;
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 10 "..\..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+
+ #line 25 "..\..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButton);
+
+ #line default
+ #line hidden
+ return;
+ case 3:
+ this.UserName = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 4:
+ this.PasswordHint = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.Password = ((System.Windows.Controls.PasswordBox)(target));
+
+ #line 53 "..\..\..\MainWindow.xaml"
+ this.Password.PasswordChanged += new System.Windows.RoutedEventHandler(this.Password_PasswordChanged);
+
+ #line default
+ #line hidden
+ return;
}
this._contentLoaded = true;
}
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.assets.cache b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.assets.cache
index bff2c68..2ef748d 100644
Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.assets.cache and b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.assets.cache differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.CoreCompileInputs.cache b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.CoreCompileInputs.cache
index 300b03d..6aca5f1 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.CoreCompileInputs.cache
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-6699e56d9f98fbf62ee36edf4ef1257f3833dc76
+f1717d53be58eb9a59391431391201bfbf17cc09
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.FileListAbsolute.txt b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.FileListAbsolute.txt
index 677b5ea..b0c5963 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.FileListAbsolute.txt
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.FileListAbsolute.txt
@@ -5,11 +5,9 @@ C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcor
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcoreapp3.1\Server Dashboard.dll
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcoreapp3.1\Server Dashboard.pdb
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Server Dashboard.csprojAssemblyReference.cache
-C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\MainWindow.g.cs
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\App.g.cs
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Server Dashboard_MarkupCompile.cache
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Server Dashboard_MarkupCompile.lref
-C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\MainWindow.baml
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Server Dashboard.g.resources
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Server Dashboard.AssemblyInfoInputs.cache
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Server Dashboard.AssemblyInfo.cs
@@ -25,3 +23,8 @@ C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcor
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\App.baml
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Server Dashboard.csproj.CopyComplete
+C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\LoginWindow.g.cs
+C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\LoginWindow.baml
+C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcoreapp3.1\Microsoft.Xaml.Behaviors.dll
+C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\GeneratedInternalTypeHelper.g.cs
+C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcoreapp3.1\Server Dashboard.dll.config
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csprojAssemblyReference.cache b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csprojAssemblyReference.cache
index f4a5b97..c007e9b 100644
Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csprojAssemblyReference.cache and b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csprojAssemblyReference.cache differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.designer.deps.json b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.designer.deps.json
index 2f80c0f..62127b0 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.designer.deps.json
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.designer.deps.json
@@ -33,6 +33,14 @@
}
}
},
+ "Microsoft.Xaml.Behaviors.Wpf/1.1.31": {
+ "runtime": {
+ "lib/netcoreapp3.1/Microsoft.Xaml.Behaviors.dll": {
+ "assemblyVersion": "1.1.0.0",
+ "fileVersion": "1.1.31.10800"
+ }
+ }
+ },
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"dependencies": {
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
@@ -153,6 +161,13 @@
"path": "microsoft.win32.registry/4.7.0",
"hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512"
},
+ "Microsoft.Xaml.Behaviors.Wpf/1.1.31": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-LZpuf82ACZWldmfMuv3CTUMDh3o0xo0uHUaybR5HgqVLDBJJ9RZLykplQ/bTJd0/VDt3EhD4iDgUgbdIUAM+Kg==",
+ "path": "microsoft.xaml.behaviors.wpf/1.1.31",
+ "hashPath": "microsoft.xaml.behaviors.wpf.1.1.31.nupkg.sha512"
+ },
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"type": "package",
"serviceable": true,
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.dll b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.dll
index 8504735..f985fb4 100644
Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.dll and b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.dll differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.g.resources b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.g.resources
index 896e51c..047bf85 100644
Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.g.resources and b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.g.resources differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.pdb b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.pdb
index d1da010..4a22dd2 100644
Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.pdb and b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.pdb differ
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.cache b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.cache
index 74554b3..9e79acf 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.cache
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.cache
@@ -10,11 +10,11 @@ none
false
TRACE;DEBUG;NETCOREAPP;NETCOREAPP3_1;
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\App.xaml
-11407045341
+1-1623698816
-10-2015762917
-193-833620683
-MainWindow.xaml;
+151761447773
+194-1159729825
+LoginWindow.xaml;
False
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.i.cache b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.i.cache
index dbfdece..45bcbc1 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.i.cache
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.i.cache
@@ -10,11 +10,11 @@ none
false
TRACE;DEBUG;NETCOREAPP;NETCOREAPP3_1;
C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\App.xaml
-11407045341
+1-1623698816
-12679877109
-193-833620683
-MainWindow.xaml;
+17162120503
+194-1159729825
+LoginWindow.xaml;
False
diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.lref b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.lref
index 10c5b94..d65a5fc 100644
--- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.lref
+++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.lref
@@ -1,4 +1,4 @@
FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\App.xaml;;
-FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\MainWindow.xaml;;
+FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\LoginWindow.xaml;;
diff --git a/Server Dashboard/obj/Server Dashboard.csproj.nuget.dgspec.json b/Server Dashboard/obj/Server Dashboard.csproj.nuget.dgspec.json
index 54bb8bb..32a0851 100644
--- a/Server Dashboard/obj/Server Dashboard.csproj.nuget.dgspec.json
+++ b/Server Dashboard/obj/Server Dashboard.csproj.nuget.dgspec.json
@@ -44,6 +44,10 @@
"netcoreapp3.1": {
"targetAlias": "netcoreapp3.1",
"dependencies": {
+ "Microsoft.Xaml.Behaviors.Wpf": {
+ "target": "Package",
+ "version": "[1.1.31, )"
+ },
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.8.2, )"
diff --git a/Server Dashboard/obj/Server Dashboard.csproj.nuget.g.props b/Server Dashboard/obj/Server Dashboard.csproj.nuget.g.props
index 3c4e198..6af21b7 100644
--- a/Server Dashboard/obj/Server Dashboard.csproj.nuget.g.props
+++ b/Server Dashboard/obj/Server Dashboard.csproj.nuget.g.props
@@ -16,4 +16,7 @@
$(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+ C:\Users\Crylia\.nuget\packages\microsoft.xaml.behaviors.wpf\1.1.31
+
\ No newline at end of file
diff --git a/Server Dashboard/obj/project.assets.json b/Server Dashboard/obj/project.assets.json
index dcfe250..d8cda0e 100644
--- a/Server Dashboard/obj/project.assets.json
+++ b/Server Dashboard/obj/project.assets.json
@@ -34,6 +34,18 @@
}
}
},
+ "Microsoft.Xaml.Behaviors.Wpf/1.1.31": {
+ "type": "package",
+ "compile": {
+ "lib/netcoreapp3.1/Microsoft.Xaml.Behaviors.dll": {}
+ },
+ "runtime": {
+ "lib/netcoreapp3.1/Microsoft.Xaml.Behaviors.dll": {}
+ },
+ "frameworkReferences": [
+ "Microsoft.WindowsDesktop.App.WPF"
+ ]
+ },
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"type": "package",
"dependencies": {
@@ -198,6 +210,31 @@
"version.txt"
]
},
+ "Microsoft.Xaml.Behaviors.Wpf/1.1.31": {
+ "sha512": "LZpuf82ACZWldmfMuv3CTUMDh3o0xo0uHUaybR5HgqVLDBJJ9RZLykplQ/bTJd0/VDt3EhD4iDgUgbdIUAM+Kg==",
+ "type": "package",
+ "path": "microsoft.xaml.behaviors.wpf/1.1.31",
+ "hasTools": true,
+ "files": [
+ ".nupkg.metadata",
+ ".signature.p7s",
+ "lib/net45/Design/Microsoft.Xaml.Behaviors.Design.dll",
+ "lib/net45/Microsoft.Xaml.Behaviors.dll",
+ "lib/net45/Microsoft.Xaml.Behaviors.pdb",
+ "lib/net45/Microsoft.Xaml.Behaviors.xml",
+ "lib/net5.0-windows7.0/Design/Microsoft.Xaml.Behaviors.DesignTools.dll",
+ "lib/net5.0-windows7.0/Microsoft.Xaml.Behaviors.dll",
+ "lib/net5.0-windows7.0/Microsoft.Xaml.Behaviors.pdb",
+ "lib/net5.0-windows7.0/Microsoft.Xaml.Behaviors.xml",
+ "lib/netcoreapp3.1/Design/Microsoft.Xaml.Behaviors.DesignTools.dll",
+ "lib/netcoreapp3.1/Microsoft.Xaml.Behaviors.dll",
+ "lib/netcoreapp3.1/Microsoft.Xaml.Behaviors.pdb",
+ "lib/netcoreapp3.1/Microsoft.Xaml.Behaviors.xml",
+ "microsoft.xaml.behaviors.wpf.1.1.31.nupkg.sha512",
+ "microsoft.xaml.behaviors.wpf.nuspec",
+ "tools/Install.ps1"
+ ]
+ },
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"sha512": "9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==",
"type": "package",
@@ -450,6 +487,7 @@
},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": [
+ "Microsoft.Xaml.Behaviors.Wpf >= 1.1.31",
"System.Data.SqlClient >= 4.8.2"
]
},
@@ -497,6 +535,10 @@
"netcoreapp3.1": {
"targetAlias": "netcoreapp3.1",
"dependencies": {
+ "Microsoft.Xaml.Behaviors.Wpf": {
+ "target": "Package",
+ "version": "[1.1.31, )"
+ },
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.8.2, )"
diff --git a/Server Dashboard/obj/project.nuget.cache b/Server Dashboard/obj/project.nuget.cache
index 56247bd..281c966 100644
--- a/Server Dashboard/obj/project.nuget.cache
+++ b/Server Dashboard/obj/project.nuget.cache
@@ -1,11 +1,12 @@
{
"version": 2,
- "dgSpecHash": "Ys8lDS/3T/6A/sckiwSOsrsN0Lv8FKN7haYCcS3mkpDpqXsorYgNFm3xwecHcRSPPhR8+xRgpeJ1c3ShYikNbg==",
+ "dgSpecHash": "CYGOe4mBfiMKQ4BaJySOksOWUEXHi442SEA4/Rkjp0Q8nuhKaogz392dgxLCqtFUcIOrmTAgtPjbLUjOWSV4Og==",
"success": true,
"projectFilePath": "C:\\Users\\Crylia\\Documents\\Git\\Server Dashboard\\Server Dashboard\\Server Dashboard.csproj",
"expectedPackageFiles": [
"C:\\Users\\Crylia\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
"C:\\Users\\Crylia\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
+ "C:\\Users\\Crylia\\.nuget\\packages\\microsoft.xaml.behaviors.wpf\\1.1.31\\microsoft.xaml.behaviors.wpf.1.1.31.nupkg.sha512",
"C:\\Users\\Crylia\\.nuget\\packages\\runtime.native.system.data.sqlclient.sni\\4.7.0\\runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512",
"C:\\Users\\Crylia\\.nuget\\packages\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"C:\\Users\\Crylia\\.nuget\\packages\\runtime.win-x64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",