public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            mainpayReport rpt = new mainpayReport();

            rpt.Site = this.Site;
            return(rpt);
        }
        void pay()
        {
            mainpayReport pr = new mainpayReport();

            pr.SetParameterValue("Name", p.namePrint);
            pr.SetParameterValue("phone", p.phonePrint);
            pr.SetParameterValue("Amount", p.amountPrint.ToString());
            pr.SetParameterValue("contractValue", p.priceTD.Text);
            pr.SetParameterValue("description", p.discriptionTB.Text);
            pr.SetParameterValue("Date", p.dateTp.Text);
            crystalReportViewer1.ReportSource = pr;
            crystalReportViewer1.Refresh();
        }