private void WinBtn_Click(object sender, EventArgs e) { pickedNumberLabel.Text = "Komputer Wygrał"; countTime.stopWatch(); finishBox.Visible = true; finishTimeLabel.Text = "Czas: " + countTime.countedTime.ToString(); finishPickedNr.Text = "Wybrany Numer: " + aiGame.GetLastPickedNumber().ToString(); finishNrOftimes.Text = "Ilość Ruchów: " + aiGame.History.Count.ToString(); aiGame.WinGame(); }
private void Stop_Click(object sender, EventArgs e) { countTime.stopWatch(); finishBox.Visible = true; }