コード例 #1
0
ファイル: PrestamoRP.cs プロジェクト: Steven112/Library
        private void MycrystalReportViewer1_Load(object sender, EventArgs e)
        {
            cReportePrestamo report = new cReportePrestamo();

            report.SetDataSource(reporte);

            MycrystalReportViewer1.ReportSource = report;
            MycrystalReportViewer1.Refresh();
        }
コード例 #2
0
ファイル: PrestamoRP.cs プロジェクト: Steven112/Library
        public PrestamoRP(List <Prestamo> prestamos)
        {
            this.reporte = prestamos;
            InitializeComponent();
            cReportePrestamo report = new cReportePrestamo();

            report.SetDataSource(reporte);

            MycrystalReportViewer1.ReportSource = report;
            MycrystalReportViewer1.Refresh();
        }