Esempio n. 1
0
        private void BtnPrintResult_Click(object sender, RoutedEventArgs e)
        {
            TorneoEntity tournament     = SqlDal_Tournaments.GetTorneoById(_idTorneo);
            String       nomeDisciplina = SqlDal_Tournaments.GetDisciplinaById(_idDisciplina);

            pdf.FineTorneo(goldMedal, silverMedal, bronzeMedal, woodMedal, tournament.Name, nomeDisciplina);
        }
        private void btnStampa_Click(object sender, EventArgs e)
        {
            PdfManager pdf = new PdfManager();

            pdf.StampaRisultatiGironi(
                dataGridView1,
                SqlDal_Tournaments.GetTorneoById(this.idTorneo).Name,
                SqlDal_Tournaments.GetDisciplinaById(this.idDisciplina));
        }
Esempio n. 3
0
        private void BtnPrintResult_Click(object sender, RoutedEventArgs e)
        {
            PdfManager pdf = new PdfManager();

            pdf.StampaRisultatiGironi(
                dataGridResult,
                SqlDal_Tournaments.GetTorneoById(this.idTorneo).Name,
                SqlDal_Tournaments.GetDisciplinaById(this.idDisciplina));
        }