private void btnReportTheoMa_Click(object sender, EventArgs e) { FormNhapXuatReport.LoaiReport = cboMaPhieu.Text.Trim(); FormNhapXuatReport.NgayBD = FormNhapXuatReport.NgayKT = null; FormNhapXuatReport frm = new FormNhapXuatReport(); frm.Show(); }
//Button private void btnReportAll_Click(object sender, EventArgs e) { FormNhapXuatReport.LoaiReport = "A"; FormNhapXuatReport.NgayBD = FormNhapXuatReport.NgayKT = null; FormNhapXuatReport frm = new FormNhapXuatReport(); frm.Show(); }
private void btnReportTCTheoTG_Click(object sender, EventArgs e) { FormNhapXuatReport.LoaiReport = "A"; FormNhapXuatReport.NgayBD = dtpNgayBDAll.Value; FormNhapXuatReport.NgayKT = dtpNgayKTAll.Value; FormNhapXuatReport frm = new FormNhapXuatReport(); frm.Show(); }
private void btnReportTheoLoai_Click(object sender, EventArgs e) { if (chbNhapAll.Checked) { FormNhapXuatReport.LoaiReport = "N"; } if (chbXuatAll.Checked) { FormNhapXuatReport.LoaiReport = "X"; } FormNhapXuatReport.NgayBD = FormNhapXuatReport.NgayKT = null; FormNhapXuatReport frm = new FormNhapXuatReport(); frm.Show(); }
private void btnReportLoaiTheoTG_Click(object sender, EventArgs e) { if (chbNhapTheoTG.Checked) { FormNhapXuatReport.LoaiReport = "N"; } if (chbXuatTheoTG.Checked) { FormNhapXuatReport.LoaiReport = "X"; } FormNhapXuatReport.NgayBD = dtpNgayBDTheoTG.Value; FormNhapXuatReport.NgayKT = dtpNgayKTTheoTG.Value; FormNhapXuatReport frm = new FormNhapXuatReport(); frm.Show(); }