private void buttonAsk_Click(object sender, EventArgs e) { textProgress.Text = ""; if (listHand.SelectedIndex < 0) { MessageBox.Show("Wybierz karte !"); return; } if (game.PlayOneRound(listHand.SelectedIndex)) { textProgress.Text = " Zwyciezca jest..." + game.GetWinnerName(); textBooks.Text = game.DescribeBooks(); buttonAsk.Enabled = false; } else { UpdateForm(); } }