Пример #1
0
 private void UpdateForm()
 {
     listHand.Items.Clear();
     foreach (string cardName in game.GetPlayerCardNames())
     {
         listHand.Items.Add(cardName);
     }
     textBooks.Text = game.DescribeBooks();
     foreach (string str in textBoxOnForm)
     {
         textProgress.Text += str;//
     }
     textProgress.Text          += game.DescribePlayerHands();
     textProgress.SelectionStart = textProgress.Text.Length;
     textProgress.ScrollToCaret();
 }