Login fenster öffnen
This commit is contained in:
@@ -20,12 +20,23 @@ namespace Casino
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
var window = new Login();
|
||||
|
||||
window.Owner = this;
|
||||
window.ShowDialog();
|
||||
//copilot hilfe
|
||||
Loaded += (_, _) =>
|
||||
{
|
||||
var window = new Login();
|
||||
|
||||
window.Owner = this;
|
||||
window.ShowDialog();
|
||||
if(window.DialogResult == false)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user