Esempio n. 1
0
 private void buttonDisplayResults_Click(object sender, EventArgs e)
 {
     ResultsDisplay resD = new ResultsDisplay();
     resD.Text = "Résultats tournoi";
     resD.tournamentNumber = tournamentNumber;
     resD.player = false;
     resD.Show();
 }
Esempio n. 2
0
 private void buttonDisplayResultsPlayer_Click(object sender, EventArgs e)
 {
     DataGridViewRow rowP = playersByTournamentDataGridView.CurrentRow;
     int tempPlayerNumber = int.Parse(rowP.Cells[1].Value.ToString());
     ResultsDisplay resD = new ResultsDisplay();
     resD.Text = "Résultats tournoi " + rowP.Cells[0].Value.ToString() + " " + rowP.Cells[2].Value.ToString();
     resD.tournamentNumber = tournamentNumber;
     resD.playerNumber = tempPlayerNumber;
     resD.player = true;
     resD.Show();
 }