Exemplo n.º 1
0
        private void MycrystalReportViewer1_Load(object sender, EventArgs e)
        {
            RPCategorias report = new RPCategorias();

            report.SetDataSource(reporte);

            MycrystalReportViewer1.ReportSource = report;
            MycrystalReportViewer1.Refresh();
        }
Exemplo n.º 2
0
        public CategoriaR(List <Categoria> categorias)
        {
            this.reporte = categorias;
            InitializeComponent();
            RPCategorias report = new RPCategorias();

            report.SetDataSource(reporte);

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