public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReportPOVendor rpt = new CrystalReportPOVendor(); rpt.Site = this.Site; return(rpt); }
private void ButtonCetakPO_Click(object sender, EventArgs e) { CrystalReportPOVendor cr = new CrystalReportPOVendor(); cr.SetParameterValue("kode", comboBoxPr.SelectedValue.ToString()); ((FormParent)this.MdiParent).panggilTampilPO(cr); }
public void panggilTampilPO(CrystalReportPOVendor crpo) { FormTampilReport f = new FormTampilReport(); f.crpo = crpo; f.MdiParent = this; f.Show(); }