public uc_phieuDatHang()
        {
            InitializeComponent();
            uc_nguyenLieuToiMucToiThieu uc_1 = new uc_nguyenLieuToiMucToiThieu();

            uc_1.Dock = DockStyle.Fill;
            tabPage_danhSach.AttachedControl.Controls.Add(uc_1);

            uc_nhapHangDotXuat uc_2 = new uc_nhapHangDotXuat();

            uc_2.Dock = DockStyle.Fill;
            tabPage_lapPhieuDatHang.AttachedControl.Controls.Add(uc_2);
        }
Beispiel #2
0
        public frmKhoHang()
        {
            InitializeComponent();
            GUI.KhoHang.NguyenLieuTon.uc_traCuuNguyenLieuTon uc_NL = new GUI.KhoHang.NguyenLieuTon.uc_traCuuNguyenLieuTon();
            uc_NL.Dock = DockStyle.Fill;
            tab_NL.AttachedControl.Controls.Add(uc_NL);

            GUI.KhoHang.NhaCungCap.uc_traCuuNCC uc_NCC = new GUI.KhoHang.NhaCungCap.uc_traCuuNCC();
            uc_NCC.Dock = DockStyle.Fill;
            tab_NCC.AttachedControl.Controls.Add(uc_NCC);

            GUI.KhoHang.NguyenLieuTon.uc_phieuDatHang uc_phieuDatHang = new GUI.KhoHang.NguyenLieuTon.uc_phieuDatHang();
            uc_phieuDatHang.Dock = DockStyle.Fill;
            tab_nguyenLieuCanNhap.AttachedControl.Controls.Add(uc_phieuDatHang);

            GUI.KhoHang.NguyenLieuTon.uc_nhapHangDotXuat uc_nhapHangDotXuat = new GUI.KhoHang.NguyenLieuTon.uc_nhapHangDotXuat();
            uc_nhapHangDotXuat.Dock = DockStyle.Fill;
            tab_nhapHangDotXuat.AttachedControl.Controls.Add(uc_nhapHangDotXuat);

            GUI.KhoHang.NhaCungCap.uc_nccToiHanCanThanhToan uc_nccToiHanCanThanhToan = new GUI.KhoHang.NhaCungCap.uc_nccToiHanCanThanhToan();
            uc_nccToiHanCanThanhToan.Dock = DockStyle.Fill;
            tab_noToiHanThanhToan.AttachedControl.Controls.Add(uc_nccToiHanCanThanhToan);
            main_tab_KhoHang.BackColor = Color.Black;
        }