예제 #1
0
        private void btnReportTheoMa_Click(object sender, EventArgs e)
        {
            FormNhapXuatReport.LoaiReport = cboMaPhieu.Text.Trim();
            FormNhapXuatReport.NgayBD     = FormNhapXuatReport.NgayKT = null;
            FormNhapXuatReport frm = new FormNhapXuatReport();

            frm.Show();
        }
예제 #2
0
        //Button
        private void btnReportAll_Click(object sender, EventArgs e)
        {
            FormNhapXuatReport.LoaiReport = "A";
            FormNhapXuatReport.NgayBD     = FormNhapXuatReport.NgayKT = null;
            FormNhapXuatReport frm = new FormNhapXuatReport();

            frm.Show();
        }
예제 #3
0
        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();
        }
예제 #4
0
        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();
        }
예제 #5
0
        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();
        }