finish login window styling and added xaml event triggers to handle ui method calls

This commit is contained in:
Rene Schwarz
2021-04-03 05:10:47 +02:00
parent 1ea42f8660
commit 077f622115
38 changed files with 405 additions and 124 deletions

View File

@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3C90DD8C14A9C472B0C23B4B4C5ADAF4EB5BB2A0"
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CDEE2CA4F2AEFFC91F6C3FEBBD37081502AEA750"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@@ -42,7 +42,7 @@ namespace Server_Dashboard {
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 34 "..\..\..\MainWindow.xaml"
#line 41 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox UserName;
@@ -50,7 +50,15 @@ namespace Server_Dashboard {
#line hidden
#line 49 "..\..\..\MainWindow.xaml"
#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;
@@ -69,7 +77,7 @@ 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;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -88,10 +96,35 @@ namespace Server_Dashboard {
switch (connectionId)
{
case 1:
this.UserName = ((System.Windows.Controls.TextBox)(target));
#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;