private void callAfterSended(SendResponse response) { if (response.GetSendStatus(proccessingVisit.Patient.CellNumber) == SendStatus.Succesful) { proccessingVisit.ReminderStatus =(int) SmsStatus.Sent; } afterSend = true; }
private void callAfterSended(SendResponse response) { btnSend.Enabled = true; lblRunning.Visible = false; lblAccount.Text = string.Format("{0:0,0}", response.Credit); for (int i = 0; i < grdList.RowCount; i++) { if (grdList.Rows[i].Cells["send"].Value != null && (bool)grdList.Rows[i].Cells["send"].Value) {//todo grdList.Rows[i].Cells["statusNo"].Value = response.GetSendStatus(grdList.Rows[i].Cells["phone"].Value.ToString()); } } }