Exemplo n.º 1
0
 private void ocmVoid_Click(object sender, EventArgs e)
 {
     try
     {
         oFoodLandCallAPI = new cFoodLandCallAPI();
         cmlCouponRes oCouponRes = new cmlCouponRes();
         otbUrl.Text          = otbUrl.Text = tC_Url + "Void".Trim();
         oCouponRes           = oFoodLandCallAPI.C_SEToCouponSta(otbUrl.Text, otbSendCoupon.Text);
         otbStatusCode.Text   = oCouponRes.tCML_StatusCode;
         otbStatusDescTH.Text = oCouponRes.tCML_StatusDescTH;
         otbStatusDescEN.Text = oCouponRes.tCML_StatusDescEN;
         otbPrintDesc.Text    = oCouponRes.tCML_PrintDesc;
         otbRefCode.Text      = oCouponRes.tCML_RefCode;
         otbTranDateTime.Text = oCouponRes.tCML_TranDateTime;
     }
     catch (Exception oEx)
     {
         MessageBox.Show("wMain : ocmVoid_Click//" + oEx.Message);
     }
 }