Example #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Job_Order_Print_Bill rpt = new Job_Order_Print_Bill();

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        private void Job_Order_Bill_Load(object sender, EventArgs e)
        {
            Job_Order_Labor g = new Job_Order_Labor();

            g.Hide();
            Job_Order_Print_Bill ob = new Job_Order_Print_Bill();

            ob.SetParameterValue("joborderid", Job_Order_Details.jobid);
            crystalReportViewer1.ReportSource = ob;
            crystalReportViewer1.Refresh();
        }