Music Player Hinzugefügt

This commit is contained in:
NBTEMP\bib
2026-09-03 12:10:46 +02:00
parent 06274b48a8
commit 084bfa9414
2 changed files with 30 additions and 8 deletions
+4 -6
View File
@@ -26,13 +26,11 @@ namespace Casino
public Slots()
{
InitializeComponent();
Slot_System sys = new Slot_System();
sys.roll();
while (sys.getFertig())
{
LoadCard(8);
}
}
private void LoadCard(int Bild)
@@ -40,7 +38,7 @@ namespace Casino
Database db = new Database();
byte[] img = db.GetCardImage(Bild);//2-10
kartenBild.Source = ByteArrayToImage(img);
Bild_11.Source = ByteArrayToImage(img);
}
private BitmapImage ByteArrayToImage(byte[] bytes)