Busfahrer oberfläche
This commit is contained in:
@@ -20,18 +20,23 @@ namespace Casino
|
||||
/// </summary>
|
||||
public partial class Busfahrer : Window
|
||||
{
|
||||
|
||||
|
||||
public Busfahrer()
|
||||
{
|
||||
rand();
|
||||
LoadCard(55);
|
||||
InitializeComponent();
|
||||
|
||||
LoadCard(8);
|
||||
}
|
||||
|
||||
private void LoadCard(int Bild)
|
||||
{
|
||||
Database db = new Database();
|
||||
byte[] img = db.GetCardImage(Bild);//2-10
|
||||
byte[] img = db.GetCardImage(Bild);
|
||||
|
||||
Bild_4.Source = ByteArrayToImage(img);
|
||||
|
||||
|
||||
Bild_1.Source = ByteArrayToImage(img);
|
||||
}
|
||||
|
||||
private BitmapImage ByteArrayToImage(byte[] bytes)
|
||||
|
||||
Reference in New Issue
Block a user