コード例 #1
0
 public ReportTitle(string kindOfReport, ReportTime reportTime)
 {
     this.createdTime = DateTime.Now.ToString("dd/MM/yyyy");
     this.kindOfTime  = String.Format("Từ ngày {0} đến ngày {1}",
                                      reportTime.startTime.ToString("dd/MM/yyyy"), reportTime.endTime.ToString("dd/MM/yyyy"));
     this.title = kindOfReport;
 }
コード例 #2
0
 public ReportForm(Time kindOfTime, Panel pnlOptionalTime, CrystalReportViewer crystalReportViewer)
 {
     this.reportTime          = new ReportTime(kindOfTime, pnlOptionalTime);
     this.crystalReportViewer = crystalReportViewer;
 }