public frmKhoHang()
 {
     InitializeComponent();
     //  frmKhoHang frm = new frmKhoHang();
     GUI.KhoHang.NhaCungCap.uc_traCuuNCC uc = new GUI.KhoHang.NhaCungCap.uc_traCuuNCC();
     m_sTabItmTTBanDat.AttachedControl.Controls.Add(uc);
     panelEx1.Location = new Point((Screen.PrimaryScreen.Bounds.Width - panelEx1.Width) / 2, (Screen.PrimaryScreen.Bounds.Height - panelEx1.Height) / 2);
 }
Ejemplo n.º 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;
        }