add Login window

This commit is contained in:
Rene Schwarz
2021-04-01 16:57:38 +02:00
parent b9ea1a438b
commit 1ea42f8660
18 changed files with 92 additions and 81 deletions

View File

@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CFAEA69073E0A9617DE983A1C17F812E8D11C797"
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D03A8BE38EE5AEEDA00BB5AE30E41B585091E1F0"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.

View File

@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CFAEA69073E0A9617DE983A1C17F812E8D11C797"
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D03A8BE38EE5AEEDA00BB5AE30E41B585091E1F0"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.

View File

@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9936019F8F4F36AA14CB7E4E5EF102427D7DACAB"
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3C90DD8C14A9C472B0C23B4B4C5ADAF4EB5BB2A0"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@@ -42,9 +42,17 @@ namespace Server_Dashboard {
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 74 "..\..\..\MainWindow.xaml"
#line 34 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock LoginErrorText;
internal System.Windows.Controls.TextBox UserName;
#line default
#line hidden
#line 49 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.PasswordBox Password;
#line default
#line hidden
@@ -80,7 +88,10 @@ namespace Server_Dashboard {
switch (connectionId)
{
case 1:
this.LoginErrorText = ((System.Windows.Controls.TextBlock)(target));
this.UserName = ((System.Windows.Controls.TextBox)(target));
return;
case 2:
this.Password = ((System.Windows.Controls.PasswordBox)(target));
return;
}
this._contentLoaded = true;

View File

@@ -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}" "3C90DD8C14A9C472B0C23B4B4C5ADAF4EB5BB2A0"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@@ -35,18 +34,31 @@ using System.Windows.Shell;
namespace Server_Dashboard {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line default
#line hidden
#line 34 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox UserName;
#line default
#line hidden
#line 49 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.PasswordBox Password;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
@@ -58,14 +70,14 @@ namespace Server_Dashboard {
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
#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 +85,14 @@ 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:
this.UserName = ((System.Windows.Controls.TextBox)(target));
return;
case 2:
this.Password = ((System.Windows.Controls.PasswordBox)(target));
return;
}
this._contentLoaded = true;
}

View File

@@ -16,5 +16,5 @@ C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\App.xaml
193-833620683
MainWindow.xaml;
False
True

View File

@@ -0,0 +1,4 @@
FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\App.xaml;;
FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\MainWindow.xaml;;