private void lblCheckout_Click(object sender, EventArgs e) { frmCheckout checkout = new frmCheckout(user, item, subtotal, itemName, price, quantity, table); this.Close(); checkout.ShowDialog(); }
private void label1_Click(object sender, EventArgs e) { frmCheckout checkout = new frmCheckout(); checkout.ShowDialog(); }