Login fenster öffnen

This commit is contained in:
NBTEMP\bib
2026-08-20 16:03:46 +02:00
parent 279ea709cd
commit 2091f5e903
2 changed files with 15 additions and 4 deletions
+12 -1
View File
@@ -20,12 +20,23 @@ namespace Casino
{
InitializeComponent();
//copilot hilfe
Loaded += (_, _) =>
{
var window = new Login();
window.Owner = this;
window.ShowDialog();
if(window.DialogResult == false)
{
Close();
}
};
}
}
}
}
+1 -1
View File
@@ -8,7 +8,7 @@ namespace Casino
{
public class User
{
public string ID { get; }
public string ID { get; set; }
public string Name { get; set; }
public int Alter { get; set; }
public string Passwort { get; set; }