Bilder upload
This commit is contained in:
@@ -13,6 +13,7 @@ using System.Windows.Input;
|
|||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
using Mysqlx.Cursor;
|
||||||
|
|
||||||
namespace Casino
|
namespace Casino
|
||||||
{
|
{
|
||||||
@@ -33,7 +34,11 @@ namespace Casino
|
|||||||
{
|
{
|
||||||
if (checkLogin(TxtName.Text, TxtPasswort.Text))
|
if (checkLogin(TxtName.Text, TxtPasswort.Text))
|
||||||
{
|
{
|
||||||
DialogResult = true;
|
|
||||||
|
MainWindow mainWindow = new MainWindow();
|
||||||
|
mainWindow.Show();
|
||||||
|
Close();
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="MainWindow" Height="450" Width="800">
|
Title="MainWindow" Height="450" Width="800">
|
||||||
<Grid>
|
<Grid>
|
||||||
|
<Button Content="Slots" HorizontalAlignment="Left" Height="39" Margin="65,114,0,0" VerticalAlignment="Top" Width="93" Click="Slots_Click"/>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
|||||||
@@ -21,23 +21,14 @@ namespace Casino
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
|
||||||
//copilot hilfe
|
|
||||||
var login = new Login();
|
|
||||||
bool? result = login.ShowDialog();
|
|
||||||
|
|
||||||
if (result == true)
|
|
||||||
|
|
||||||
|
}
|
||||||
|
private void Slots_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var main = new MainWindow();
|
Slots slotsWindow = new Slots();
|
||||||
main.Show();
|
slotsWindow.Show();
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
Application.Current.Shutdown();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -38,7 +38,7 @@ namespace Casino
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
LoadCard();
|
||||||
|
|
||||||
}
|
}
|
||||||
private void LoadCard()
|
private void LoadCard()
|
||||||
|
|||||||
Reference in New Issue
Block a user