public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { TransactionsPerMonth rpt = new TransactionsPerMonth(); rpt.Site = this.Site; return(rpt); }
private void CrystalReportForm_Load(object sender, EventArgs e) { CB = new ClientTotalBalance(); LD = new Loan(); CR = new TransactionsPerMonth(); foreach (ParameterDiscreteValue v in CR.ParameterFields[0].DefaultValues) { comboBox1.Items.Add(v.Value.ToString()); } }