コード例 #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
ファイル: UCTraHang.cs プロジェクト: duongvn01/QuanLyBanHang
        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();
        }