Пример #1
0
        private void button4_Click_1(object sender, EventArgs e)
        {
            Repports        rep        = new Repports();
            Liste_ProduitPv liste_prod = new Liste_ProduitPv();

            //fiche_stock.SetDataSource(DynamicClasses.GetInstance().call_report("Affichage_Mouvement_Stock", "designationprod", lab_designation.Text.Trim()));
            rep.crystalReportViewer1.ReportSource = liste_prod;
            rep.crystalReportViewer1.Refresh();
            rep.Show();
        }
Пример #2
0
        private void button2_Click_2(object sender, EventArgs e)
        {
            Repports    rep         = new Repports();
            Fiche_Stock fiche_stock = new Fiche_Stock();

            fiche_stock.SetDataSource(DynamicClasses.GetInstance().call_report("Affichage_Mouvement_Stock", "designationprod", lab_designation.Text.Trim()));
            rep.crystalReportViewer1.ReportSource = fiche_stock;
            rep.crystalReportViewer1.Refresh();
            rep.Show();
        }