Esempio n. 1
0
        private void editReceiptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HoaDonNhap hoaDonNhap = new HoaDonNhap();

            //hoaDonNhap.ShowDialog();
            hoaDonNhap.MdiParent = this;
            hoaDonNhap.Show();
        }
Esempio n. 2
0
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            HoaDonNhap hoa = new HoaDonNhap();

            // var param = hoa.getcbbHoaDon();


            frmHoaDon frm = new frmHoaDon();

            frm.SetParameterValue(0, Int32.Parse(p));


            crystalReportViewer1.ReportSource = frm;



            crystalReportViewer1.Refresh();
        }