Exemple #1
0
        private void btnXuatBaoCao_Click(object sender, EventArgs e)
        {
            LayMaBaoCao mbc = new LayMaBaoCao();

            mbc.mabaocao = mabaocao;
            FormXuatBaoCao form = new FormXuatBaoCao(mbc);
            DialogResult   dr   = form.ShowDialog();
        }
Exemple #2
0
        public FormXuatBaoCao(LayMaBaoCao mbc)
        {
            InitializeComponent();
            int a = mbc.mabaocao;

            CTBaoCao_DTOBindingSource.DataSource = bcbus.LayCTBaoCao(a);
            //   string a = bcbus
            BaoCaoTonKho_DTOBindingSource.DataSource = bcbus.LayMaNgayBC(a);
            this.reportViewer1.RefreshReport();
            //this.reportViewer2.RefreshReport();
        }