Example #1
0
        private void record_payment_button_Click(object sender, EventArgs e)
        {
            Job_Order_Payment g = new Job_Order_Payment();

            jobid = Convert.ToInt32(job_order_idx.Text);
            tots  = bal_text.Text;
            g.Show();
        }
Example #2
0
        private void Job_Order_Receipt_Load(object sender, EventArgs e)
        {
            finddata();
            Job_Order_Payment g = new Job_Order_Payment();

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

            ob.SetParameterValue("joborderpaymentid", Job_Order_Payment.jpid);
            ob.SetParameterValue("joborderid", id);
            crystalReportViewer1.ReportSource = ob;
            crystalReportViewer1.Refresh();
        }