public PrinterInsuranceReport(InsuranceReport[] reports,string insuranceName,string fromPersianDate,string toPersianDate)
        {
            InitializeComponent();

            FillHeader(insuranceName,fromPersianDate,toPersianDate);
            FillTable(reports);
        }
        private void FillTable(InsuranceReport[] reports)
        {
            foreach (var report in reports)
            {
                TableRow tableRow=new TableRow();

                tableRow.Cells.Add(CreateCellFor(report.PageNumber.HasValue?report.PageNumber.Value.ToString():""));
                tableRow.Cells.Add(CreateCellFor(report.PersianDate));
                tableRow.Cells.Add(CreateCellFor(report.Bedehkari.ToString("0,0")));
                tableRow.Cells.Add(CreateCellFor(report.Bestankari.ToString("0,0")));

                AddRowToTable(tableRow);
            }
        }