public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            FilmsCrystalReport rpt = new FilmsCrystalReport();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void ImprimerFilms_Click(object sender, EventArgs e)
        {
            DataTable FilmTable = new DataTable();

            new SqlDataAdapter($"select Film.* from Contrat join Film on Contrat.RefFilm = Film.RefFilm " +
                               $"where CodeActeur = {CodeActeur_Combo.SelectedValue};",
                               new SqlConnection(connectionString)).Fill(FilmTable);
            FilmsCrystalReport report = new FilmsCrystalReport();

            report.SetDataSource(FilmTable);

            crystalReportViewer1.ReportSource = report;
        }