private void frmXuatPhieuNhap_Load(object sender, EventArgs e)
        {
            PhieuNhapSach report = new PhieuNhapSach();

            report.SetDataSource(PhieuNhapCtr.XuatPhieuNhapSach(mapn));
            crpvXuatPhieuNhap.ReportSource = report;
        }
예제 #2
0
 private void btnLapPhieuMoi_Click(object sender, EventArgs e)
 {
     txtMaPN.Text = PhieuNhapCtr.GetIDPhieuNhap();
     txtMaNV.Focus();
     cbbNhaCC.Enabled       = true;
     txtMaNV.Text           = manv;
     btnGhiPhieu.Enabled    = true;
     btnLapPhieuMoi.Enabled = false;
     loadCombox();
 }