예제 #1
0
 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();
 }
예제 #2
0
 private void Stop_Click(object sender, EventArgs e)
 {
     countTime.stopWatch();
     finishBox.Visible = true;
 }