private void button6_Click(object sender, EventArgs e) { CheckOut c = new CheckOut(userId, point); c.Show(); //this.Hide(); }
private void btnConfirm_Click(object sender, EventArgs e) { r.checkOut(userId); u.updatePoint(userId, (point - totalPoint)); int x = u.userPoint(sellerId); u.updatePoint(sellerId, (x + pointS)); this.Dispose(); CheckOut c = new CheckOut(userId, point); c.Show(); this.Hide(); }