Esempio n. 1
0
 private void UpdateForm()
 {
     listHand.Items.Clear();
     foreach (String cardName in game.GetPlayerCardNames())
     {
         listHand.Items.Add(cardName);
     }
     textBooks.Text           = game.DescribeBooks();
     textBooks.SelectionStart = textBooks.Text.Length;
     textBooks.ScrollToCaret();
     textProgress.Text          += game.DescribePlayerHands();
     textProgress.SelectionStart = textProgress.Text.Length;
     textProgress.ScrollToCaret();
 }