Login fenster öffnen
This commit is contained in:
1 parent
279ea709cd
commit
2091f5e903
2 files changed
+12
-1
No files matched your search
@@ -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
@@ -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; }
|
||||
|
||||
Reference in new issue
Block a user