private void bunifuButton5_Click(object sender, EventArgs e) { if (Account.Instance.userName == "") { MessageBox.Show("Vui lòng đăng nhập để vào giỏ hàng"); return; } Form_GioHang frmGiohang = new Form_GioHang(this, 2) { TopLevel = false, TopMost = true }; this.fpnlChiTiet.Controls.Clear(); this.fpnlProduct.Visible = false; this.pnlChiTietChange.Visible = true; this.fpnlChiTiet.Visible = true; this.fpnlChiTiet.Controls.Add(frmGiohang); frmGiohang.Show(); this.pnlAddThanhCong.Visible = false; }
public ucSanPhamDaGiao(Form_Main parent, Form_GioHang parentGioHang) { this.parent = parent; InitializeComponent(); this.parentGiohang = parentGioHang; }
public ucDaXemYeuThich(Form_Main parent, Form_GioHang parentGiohang) { this.parentGioHang = parentGiohang; this.parent = parent; InitializeComponent(); }
public ucSanPhamTrongGio(Form_Main parent, Form_GioHang parentgh) { this.parent = parent; this.parentgh = parentgh; InitializeComponent(); }
public ucSanPhamdaxem(Form_Main parent, Form_GioHang parentGioHang) { this.parentGioHang = parentGioHang; this.parent = parent; InitializeComponent(); }