コード例 #1
0
 /// <summary>
 /// The handler for when the reprint receipt form closes
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void fltReprintReceipt_FormClosing(object sender, FormClosingEventArgs e)
 {
     bOtherFormOpen = false;
     if (fltReprintReceipt.TransactionNumber != "CANCELLED")
     {
         int nToReprint = Convert.ToInt32(fltReprintReceipt.TransactionNumber);
         tEngine.ReprintTransactionReceipt(nToReprint);
     }
 }