public frm_ChiTietPhieuDieuChuyen(frmChiTiet_ChungTuNhapBase frm, ChungTuCTHanghoaBasePairInfo li, List <ChungTu_ChiTietHangHoaBaseInfo> liChiTiet)
     : base(frm, li)
 {
     this.frm       = frm;
     this.liHangHoa = li;
     this.liChiTiet = liChiTiet;
 }
 public frmChungTuNhap_ChiTietHangHoaBase(frmChiTiet_ChungTuNhapBase frm, ChungTuCTHanghoaBasePairInfo HangHoa)
 {
     InitializeComponent();
     Common.LoadStyle(this);
     this.frm     = frm;
     this.HangHoa = HangHoa;
 }
Esempio n. 3
0
 public frmChungTuChiTietHanghoaNhapNcc(frmChiTiet_ChungTuNhapBase frm, ChungTuCTHanghoaBasePairInfo HangHoa, List <ChungTuNhapNccChiTietHangHoaInfo> liChiTiet, List <ChungTuNhapNccChiTietHangHoaInfo> ListAll, int TrangThai)
     : base(frm, HangHoa)
 {
     this.frm       = frm;
     this.HangHoa   = HangHoa;
     this.liChiTiet = liChiTiet;
     this.ListAll   = ListAll;
     this.Trangthai = TrangThai;
 }
 public frm_ChiTietPhieuNhapDieuChuyen(frmChiTiet_ChungTuNhapBase frm, ChungTuCTHanghoaBasePairInfo li, List <ChungTu_ChiTietHangHoaBaseInfo> liChiTiet, int idChungTuChiTiet)
     : base(frm, li)
 {
     this.frm              = frm;
     this.liHangHoa        = li;
     this.liChiTiet        = liChiTiet;
     this.IdChungTuChiTiet = idChungTuChiTiet;
     ListNTH = NhanDieuChuyenDataProvider.Instance.GetListNhanDieuChuyenBySoPhieu(frm.SoPO);
     //btnThem.Enabled = false;
 }
        public frmChungTuXuat_ChiTietHangHoa(frmChiTiet_ChungTuNhapBase frm, ChungTuCTHanghoaBasePairInfo HangHoa, List <ChungTuXuatNccChiTietHangHoaInfo> liChiTiet)
            : base(frm, HangHoa)
        {
            InitializeComponent();
            this.frm       = frm;
            this.liChiTiet = liChiTiet;
            this.HangHoa   = HangHoa;

            #region GenCode
            //lblSL.Text = "Số lượng xuất";
            //dgvList.AutoGenerateColumns = false;
            //dgvList.Columns["clSoLuong"].ReadOnly = true;
            //dgvList.Columns["clSoLuong"].HeaderText = "Số lượng nhập";
            //dgvList.Columns["clSoLuong"].DataPropertyName = "SoLuongNhap";
            //dgvList.Columns["clSoLuong"].DisplayIndex = 4;
            //dgvList.Columns["clDonGia"].DisplayIndex = 6;
            //dgvList.Columns["clThanhtien"].DisplayIndex = 7;

            //DataGridViewTextBoxColumn clSoLuongTT = new DataGridViewTextBoxColumn();
            //clSoLuongTT.Name = "clSoLuongTT";
            //clSoLuongTT.HeaderText = "Số lượng thực tế";
            //clSoLuongTT.ReadOnly = true;
            //clSoLuongTT.DisplayIndex = 3;
            //clSoLuongTT.DataPropertyName = "SoLuongTT";
            //dgvList.Columns.Add(clSoLuongTT);

            //DataGridViewTextBoxColumn clSoLuongXuat = new DataGridViewTextBoxColumn();
            //clSoLuongXuat.Name = "clSoLuongXuat";
            //clSoLuongXuat.HeaderText = "Số lượng đã quét";
            //clSoLuongXuat.ReadOnly = false;
            //clSoLuongXuat.DisplayIndex = 5;
            //clSoLuongXuat.DataPropertyName = "SoLuong";
            //dgvList.Columns.Add(clSoLuongXuat);

            //DataGridViewCheckBoxColumn clCheck = new DataGridViewCheckBoxColumn();
            //clCheck.Name = "clCheck";
            //clCheck.DataPropertyName = "TrangThai";
            //clCheck.HeaderText = "Trạng thái";
            //clCheck.DisplayIndex = 0;
            //clCheck.ReadOnly = true;
            //clCheck.Width = 50;
            //dgvList.Columns.Add(clCheck);
            #endregion

            //btnXoaDong.Visible = false;
        }
        public frm_ChiTietPhieuDieuChuyenCoDH(frmChiTiet_ChungTuNhapBase frm, ChungTuCTHanghoaBasePairInfo li, List <ChungTu_ChiTietHangHoaBaseInfo> liChiTiet, string soChungTu, int idSanPham)
            : base(frm, li)
        {
            InitializeComponent();
            DataGridViewColumn col  = new DataGridViewColumn();
            DataGridViewCell   cell = new DataGridViewTextBoxCell();

            col.HeaderText       = "Đơn hàng";
            col.Name             = "colDonHang";
            col.Visible          = true;
            col.Width            = 200;
            col.CellTemplate     = cell;
            col.DataPropertyName = "SoChungTuBan";
            col.ReadOnly         = true;
            col.DisplayIndex     = cboDonHang.SelectedIndex;
            dgvList.Columns.Add(col);

            this.liHangHoa = li;
            this.liChiTiet = liChiTiet;
            this.SoChungTu = soChungTu;
            this.IdSanPham = idSanPham;
        }
 public frm_ChiTietNhapNoiBo(frmChiTiet_ChungTuNhapBase frm, ChungTuCTHanghoaBasePairInfo li, List <ChungTu_ChiTietHangHoaBaseInfo> liChiTiet)
     : base(frm, li)
 {
     this.liHangHoa = li;
     this.liChiTiet = liChiTiet;
 }