コード例 #1
0
 private void UpdateForm()
 {
     listHand.Items.Clear();
     foreach (String cardName in game.GetPlayerCardnames())
     {
         listHand.Items.Add(cardName);
     }
     textBooks.Text              = game.DescribeBooks();
     textProgress.Text          += game.DescribePlayerhands();
     textProgress.SelectionStart = textProgress.Text.Length;
     textProgress.ScrollToCaret();
 }