-
Notifications
You must be signed in to change notification settings - Fork 0
/
frm1fRcpReceipt.cs
43 lines (38 loc) · 1.26 KB
/
frm1fRcpReceipt.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace IOOP
{
public partial class frm1fRcpReceipt : Form
{
public frm1fRcpReceipt()
{
InitializeComponent();
}
string username;
string payService;
string serviceFee;
string payment;
string paymentChange;
public frm1fRcpReceipt(string u, string pS, string sF, string p, string pC)
{
InitializeComponent();
username = u;
payService = pS;
serviceFee = sF;
payment = p;
paymentChange = pC;
}
private void frm1fRcpReceipt_Load(object sender, EventArgs e)
{
//change the text to show the values of the customer service
lblReceipt.Text = "Thanks You, Come Again.\n------------------------------------------\n" + "Name: " + username + "\n" + "Paid Service: " + payService + "\n" + "service Fee: " + serviceFee + "\n" + "payment: " + payment + "\n" + "payment Change: " + paymentChange + "\n";
}
}
}