using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; using System.Data; using FastReport; using FastReport.Data; using FastReport.Dialog; using FastReport.Barcode; using FastReport.Table; using FastReport.Utils; namespace FastReport { public class ReportScript { private void Page1_ManualBuild(object sender, EventArgs e) { DataSourceBase fogadooraAdatok = Report.GetDataSource("Table"); DataFogadooraAdatok.DataSource = fogadooraAdatok; fogadooraAdatok.Init(); bool isKellSorokKiegeszitese; Boolean.TryParse(Report.Parameters.FindByName("KellSorokKiegeszitese").Value.ToString(),out isKellSorokKiegeszitese); if (!isKellSorokKiegeszitese) { Child1.Delete(); } else { Cell20.Text = ""; Cell21.Text = ""; } } } }