private void MainReportViewer_Load(object sender, EventArgs e)
        {
            var data = PORepository.GetPOFormPrint(this.id);

            POHeaderBindingSource.DataSource         = data;
            POProductDetailsBindingSource.DataSource = data.PODetails;
            this.reportViewer1.RefreshReport();
        }
Esempio n. 2
0
 public POsService(PORepository pORepository, JobsRepository jobsRepository, ElementsRepositroy elementsRepositroy)
 {
     this.pORepository       = pORepository;
     this.jobsRepository     = jobsRepository;
     this.elementsRepositroy = elementsRepositroy;
 }