private void button2_Click(object sender, EventArgs e)
{
String tid = this.label2.Text;
if (customer != null)
{
EzeResult res = null;
res = EzeAPI.create().sendReceipt(tid, customer.getMobileNumber(), "[email protected]");
Console.WriteLine("send receipt status: " + res.getStatus());
if (res.getStatus() == Status.SUCCESS)
{
this.Close();
this.superParent.Show();
}
}
}