private void button1_Click(object sender, EventArgs e) { Job_Order_Labor k = new Job_Order_Labor(); k.Show(); this.Hide(); jobid = Convert.ToInt32(job_order_idx.Text); }
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(); }