private void btnThuoc_Click(object sender, EventArgs e) { BaoCaoBUS bus = new BaoCaoBUS(); crvBaoCao.ReportSource = bus.getCRSuDungThuoc(cbThang.SelectedIndex, nupNam.Value.ToString()); isDT = false; }
private void btnRF_Click(object sender, EventArgs e) { BaoCaoBUS bus = new BaoCaoBUS(); if (isDT) { crvBaoCao.ReportSource = bus.getCRDoanhThu(cbThang.SelectedIndex, nupNam.Value.ToString()); } else { crvBaoCao.ReportSource = bus.getCRSuDungThuoc(cbThang.SelectedIndex, nupNam.Value.ToString()); } }