Sound test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user