private void payForFees_Click(object sender, EventArgs e) { MessageBox.Show("Insert your credit card..."); string ccn = "1234567890"; string pin = "1234"; PaymentSystem ps = new PaymentSystem(); if(ps.makePayment(ccn, pin, totalCost)) { MessageBox.Show("Fees Successfully Paid For!"); this.Close(); } }
private void payForFees_Click(object sender, EventArgs e) { MessageBox.Show("Insert your credit card..."); string ccn = "1234567890"; string pin = "1234"; PaymentSystem ps = new PaymentSystem(); if (ps.makePayment(ccn, pin, totalCost)) { MessageBox.Show("Fees Successfully Paid For!"); this.Close(); } }