Beispiel #1
0
        private void PurchaseInvoiceDetail_Load(object sender, EventArgs e)
        {
            retrieval r = new retrieval();

            rd = new ReportDocument();
            r.showPurchaseInvoiceRecipt(rd, crystalReportViewer1, "st_PurchaseInvoiceRecipt", "@user", retrieval.User_ID);
        }
        private void Reciept_Load(object sender, EventArgs e)
        {
            retrieval r = new retrieval();

            rd = new ReportDocument();
            if (ViewSalesInvoice.SalesID == 0)
            {
                r.showReport(rd, crystalReportViewer2, "st_getSalesRecipt", "@user", retrieval.User_ID);
            }
            else
            {
                r.showReport(rd, crystalReportViewer2, "st_getSalesReciptWRTSalesID", "@salesID", ViewSalesInvoice.SalesID);
                ViewSalesInvoice.SalesID = 0;
            }
        }
        private void Reciept_Load(object sender, EventArgs e)
        {
            retrieval r = new retrieval();

            r.showReport(crystalReportViewer1, "st_getSalesRecipt", "@user", retrieval.User_ID);
        }