'カードを生成 For i As Integer = 1 To 13 cards.Add(New Card With {.Number = i, .Mark = "スペード"}) cards.Add(New Card With {.Number = i, .Mark = "ダイヤ"}) cards.Add(New Card With {.Number = i, .Mark = "クラブ"}) cards.Add(New Card With {.Number = i, .Mark = "ハート"}) Next cards.Add(New Card With {.Mark = "ババ"}) 'カードをシャッフル Shuffle(cards) 'PictureBox1~12に画像を表示 Dim imagePath As String = Application.StartupPath & "\images" '以下略