예제 #1
0
        public UCLichSuTraHang()
        {
            InitializeComponent();
            ucth = new UCTraHang2();

            KH   = new KhachHangO();
            TH   = new TraHangO();
            CTTH = new ChiTietTraHangO();
            TK   = new TonKhoO();

            traHangBUS             = new TraHangBUS();
            khachHangBUS           = new KhachHangBUS();
            chiTietPhieuTraHangBUS = new ChiTietPhieuTraHangBUS();
            tonKhoBUS = new TonKhoBUS();
        }
예제 #2
0
        void initObjectBUS()
        {
            TH         = new TraHangO();
            KH         = new KhachHangO();
            HH         = new HangHoaO();
            DV         = new DonViO();
            CTTH       = new ChiTietTraHangO();
            TK         = new TonKhoO();
            traHangBUS = new TraHangBUS();

            khachHangBUS           = new KhachHangBUS();
            nhanVienBUS            = new NhanVienBUS();
            khoBUS                 = new KhoBUS();
            hangHoaBUS             = new HangHoaBUS();
            donViBUS               = new DonViBUS();
            tonKhoBUS              = new TonKhoBUS();
            chiTietPhieuTraHangBUS = new ChiTietPhieuTraHangBUS();

            kieuThanhToanBUS     = new KieuThanhToanBUS();
            hinhThucThanhToanBUS = new HinhThucThanhToanBUS();
        }