Sound test

This commit is contained in:
NBTEMP\bib
2026-09-03 11:31:57 +02:00
parent 4c9cd48ec0
commit d038cd9503
6 changed files with 93 additions and 18 deletions
+11 -2
View File
@@ -21,14 +21,23 @@ namespace Casino
InitializeComponent();
}
private void Slots_Click(object sender, RoutedEventArgs e)
{
Slots slotsWindow = new Slots();
slotsWindow.Show();
}
private void Sound_Click(object sender, RoutedEventArgs e)
{
Database data = new Database();
byte[] blobData = data.GetSound(1);
var audioService = new Audioplayer();
audioService.Play(blobData);
}
}
}