예제 #1
0
        public void PrintOffer(Offer offer)
        {
            ReportDocument report = new ReportDocument();

            report.Load("../../OfferReport.rpt");
            report.SetDataSource(_offerViewModel.OfferServices);
            PrintWindow print = new PrintWindow();

            print.LinkReport(report);
            print.Show();
        }