Exemplo n.º 1
0
 private void LoadControlChuyenKho()
 {
     ///Ma
     txtMaDonChuyenKho.Text = _ctrlChuyenHang.GetNew_MaDatHangByNow();
     ///NhaVien
     txtNhanVien.Text = _ctrlNhanVien.GetTenNhaVienById(_idNhanVien);
     ///CuaHangDen
     LoadCuaHangDen();
 }
Exemplo n.º 2
0
 ///
 /// load dữ liệu vào control
 ///
 private void LoadControlXuatKho()
 {
     ///hiển thị mã phiếu nhập
     LoadMaPhieuXuat();
     ///NhanVien
     txtNhanVienLap.Text = _ctrlNhanVien.GetTenNhaVienById(_idNhanVien);
     txtNhanVienLap.Invalidate();
     ///LoaiPhieuXuat
     LoadLoaiPhieuXuat();
     ///NhaCunCap
     LoadNhaCungCap();
 }
Exemplo n.º 3
0
        ///
        /// load dữ liệu vào control
        ///
        private void LoadControlBanHang()
        {
            ///hiển thị mã hóa đơn
            DateTime now = DateTime.Now;

            txtMaHoaDon.Text = _ctrlHoaDon.GetNewMaHoaDonByNow();
            txtMaHoaDon.Invalidate();
            ///KhachHang
            LoadKhachHang();
            ///NhanVien
            txtNhanVienLapHoaDon.Text = _ctrlNhanVien.GetTenNhaVienById(_idNhanVien);
            txtNhanVienLapHoaDon.Invalidate();
        }
Exemplo n.º 4
0
        /// <summary>
        ///
        /// </summary>
        private void LoadControlDonDatHang()
        {
            ///hiển thị mã hóa đơn
            DateTime now = DateTime.Now;

            txtMaDonDatHang.Text = _ctrlDonDatHang.GetNewMaDatHangByNow();
            txtMaDonDatHang.Invalidate();
            ///NhanVien
            txtNhanVienLapDonDatHang.Text = _ctrlNhanVien.GetTenNhaVienById(_idNhanVien);
            txtNhanVienLapDonDatHang.Invalidate();
            ///NhaCungCap
            LoadNhaCungCap();
        }