private void btnAddProduct_Click_1(object sender, EventArgs e) { fSanPham_ChinhSua_Them fSanPham_ChinhSua_Them = new fSanPham_ChinhSua_Them(); fSanPham_ChinhSua_Them.ShowDialog(); this.Show(); }
private void product_Click(object sender, EventArgs e) { mProductID = ((sender as PictureBox).Tag as DTOTrangChu).ID; sp = DAOTrangChu.Instance.getProductByID(mProductID); fSanPham_ChinhSua_Them f = new fSanPham_ChinhSua_Them(); f.ShowDialog(); }